.desktop files and freedesktop.org standard
Waldo Bastian
bastian at kde.org
Thu Aug 19 10:03:33 BST 2004
On Thursday 19 August 2004 07:15, Clarence Dang wrote:
> Hi,
>
> ---------- Forwarded Message ----------
>
> Date: Tue, 17 Aug 2004 11:52:38 +0200
> From: Dries Verachtert <dries at ulyssis.org>
> To: Clarence Dang <dang at kde.org>
>
> (...)
> Please note that the make install of kolourpaint places the desktop file
> in /usr/share/applications/kde/ and not in /usr/share/applications which
> should be used following the freedesktop standard (so it works in
> freedesktop compatible windowmanagers like kde and gnome). Now it only
> works in kde i think.
The standard allows to place files in subdirectories in which case the
subdirectory name will be used as vendor prefix.
See http://freedesktop.org/Standards/menu-spec/0.8/ar01s04.html
"If the directory contains sub-directories then these sub-directories should
be (recursively) scanned as well. The name of the subdirectory should be
added as prefix to the desktop-file id together with a dash character ("-")
So given a <AppDir> /foo/bar and desktop entry /foo/bar/booz/Hello.desktop
the desktop entry would get a desktop-file id of booz-Hello.desktop A desktop
entry /foo/bar/bo/oz/Hello.desktop would result in a desktop-file id of
bo-oz-Hello.desktop"
> Please also note that the Categories should contain 'Application' within
> the desktop file to be freedesktop compatible.
Where do you read that?
http://freedesktop.org/Standards/menu-spec/0.8/apa.html does not list
'Application' at all.
Cheers,
Waldo
--
bastian at kde.org | KDE Community World Summit 2004 | bastian at suse.com
bastian at kde.org | 21-29 August, Ludwigsburg, Germany | bastian at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040819/85092a29/attachment.sig>
More information about the kde-core-devel
mailing list