If you want to put something in your kde menu but don't want to use the kdemenuedit program you can do it by doing the following. Change directory to your ~/.kde/share/applnk dir. If you want your links in the main menu the just create the following example files in this directory. If you want your links in a folder then just create a directory (mkdir apps) and put the following example files in that directory. If there is a directory that already exists and you create the same name here the links will be appended to that directory. The files can be called anything but must end in ".desktop". The format is in the following example. I think the global kde menu is in "/usr/share/applnk/".
[Desktop Entry] Comment=Excel Encoding=UTF-8 Exec="/usr/local/bin/excel" Icon=/usr/share/icons/Microsoft+Office+Excel+2003.xpm InitialPreference=3 MimeType=application/msexcel Name=Microsoft Excel Terminal=false Type=Application
Del.icio.us! | Digg Me! | Reddit!
I had a problem upgrading from the beta KDE 3.2 Debian to the stable 3.2.1. Getting error messges like:
dpkg: error processing /var/cache/apt/archives/kdelibs-bin_4%3a3.2.1-1_i386.deb (--unpack): trying to overwrite `/etc/menu-methods/freedesktop-desktop-entry-spec-apps', which is also in package kicker dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/kdelibs-bin_4%3a3.2.1-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
To solve this I switched to the directory were apt-get put's it's downloads (/var/cache/apt/archives). Then executed the following command on the package(s) that were having problems: "dpkg --force-all -i [package]". Then: "dpkg -f install". That cleared it right up.
Del.icio.us! | Digg Me! | Reddit!
I was updating my KDE install on my Debian laptop when I ran into a problem. Upon trying to logout and login after the update to KDE 3.1 GDM was just reseting and going back to the login screen. So I dropped to a terminal and tried to start X by hand. I ran "startx" and had my .xinitrc starting K when I got the error "/usr/lib/libfontconfig.so.1: undefined symbol: FT_Get_Next_Char". After consulting my friend Google on the error I found a few leads to a possible fc-cache and freetype problem. Running fc-cache I recieved the exact same error K was giving me. This error was posted to the Debian package mantainer of libfontconfig and he could not reproduce it to fix it. So doing an "ldd libfontconfig.so.1" showed a link to /usr/X11R6/lib/libfreetype.so.6. So freetype comes up again. It must be a freetype fonts problem. I renamed the link to /usr/X11R6/lib/libfreetype.so.6 to /usr/X11R6/lib/libfreetype.so.6.test and walla KDE started right up. It now points to /usr/X11R6/lib/libfreetype.so.6.2.
Del.icio.us! | Digg Me! | Reddit!