> > That's highly distribution-specific. There are some efforts to make a > standard, though. > > For Fedora: install the desktop-file-utils. Make a desktop-file (see an > example in lazarus/install/gnome.ide.desktop) and then run desktop-file- > install desktopfile.desktop. (this also makes a kde-icon and menu-entry)
Aahh, a question the distribution developer gets to answer :) Actually, the freedesktop standard is very specific, although gnome fails to follow it completely unless you tweak a bunch a stuff, KDE does follow it perfectly so the easy way for the programmer is to install for gnome since KDE will pick it up. KDE and gnome will both check /usr/share/applications/ for desktop files, so that's where your desktop file should go, to prevent inter-distro issues, install your icon picture somewhere global as well, and set a full path in the desktop file. Finally, the crunch is that to get your menu item in the right place, you need to use categories, the reason for those are that the distro's can rename menu sections, but the application entries will be still be sorted like-by-like. The easy way to do those, are to drag an item from the same part of the menu you want to be in onto your desktop, and look at it with a text file, the categories are usually the last line, just copy and paste it into the bottom of your own file. A.J. -- "80% Of a hardware engineer's job is application of the uncertainty principle. 80% of a software engineer's job is pretending this isn't so." A.J. Venter Chief Software Architect OpenLab International http://www.getopenlab.com http://www.silentcoder.co.za _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives