Re: .desktop files
Bartosz Fenski aka fEnIo wrote:
>> Seems, that nobody knows exactly?
There's supposed to be a standard location for .desktop files once everyone
switches to the freedesktop.org standard. Unfortunately, I think neither
the GNOME nor the KDE in Debian actually has yet -- but they will in
future.
The standard is specified in several places, all drafts.
Start with the 'desktop menu specification'. This specifies that files are
to be collected from:
$XDG_DATA_DIRS/applications/
$XDG_DATA_DIRS/desktop-directories/ (only for folders/submenus)
Here, $XDG_DATA_DIRS is actually a collection of possible directories --
defined by the 'desktop base directory specfication'. The default value is
/usr/local/share/:/usr/share/.
So this seems to indicate that a foo.desktop file should be installed into
/usr/share/applications/foo.desktop
Indeed, some programs are doing this already, I see. :-)
--
There are none so blind as those who will not see.
Reply to: