RSS feed logo RSS Feed | About Pantz.org
Put something in your KDE menu without using menuconfig
Posted on 09-15-2006 23:58:00 EST | Updated on 09-15-2006 23:58:00 EST
Section: /software/kde/ | Permanent Link

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!

Related stories