Forwarding this from the Forum for discussion:
http://www.vectorlinux.com/forum2/index.php?topic=340.msg1584#msg1584
[quote]
Packaging rules proposal:
IMHO we should add two .desktop files for every package that requires
them. One in /usr/share/applications/ for non-KDE desktops (currently
XFCE supports this, probably Gnome for those who install it on VL) and
one KDE-only .desktop file in /opt/kde/share/applnk/. The reason
behind this is that /opt/kde/share/applnk/ makes it nice and easy to
structure the menu as a directory tree, even allowing new menu
categories (check my gambas stable or postgresql packages for
examples). The other way requires specifying the menu category inside
the .desktop file and is limited to the pre-defined categories
(AFAICT).
We should then use the "NotShowIn=KDE;" switch inside .desktop files
for /usr/share/applications/ and the "OnlyShowIn=KDE;" switch in those
for /opt/kde/share/applnk/.
[/quote]
Regards,
Joe1962
|