> > 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.
>
> That won't work. Since all desktop-files are cached, this will only work
> after a restart of gnome/kde or something.
>
> So I would say: use the script, and don't place the files yourself.
> (With the script you can also add categories, to place the menu-entry in
> the right place


That script only EXISTS on fedora, and theproblem you point out exists only in 
gnome. KDE monitors the menu directories and flushes the cache whenever they 
change - e.g. you get near instant updates.
I'm trying to teach the freedesktop.org standards compatible way. Your menu 
items should get installed as part of the package you build, and should work 
regardless of what distribution or which desktop is being used. That is the 
entire point of freedesktop.org, using a fedora specific script immediately 
makes your package fedora specific, I would rather like it if his app could 
also create a menu item which works on MY distro (we're not very big, only 
5000 users in some of the poorest countries on earth), or any other distro 
out there.

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

Reply via email to