Posts: 1,445
skidoo
Joined: 09 Feb 2012
#1
Per freedesktop.org specs, the .desktop launcher provided within an installed package may contain a"OnlyShowIn=suchandsuch_desktop_environment" directive.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://standards.freedesktop.org/menu-spec/latest/apb.html"
linktext was:"http://standards.freedesktop.org/menu-s ... t/apb.html"
====================================

If it does, the menu-updater will respect the directive.

For example, the .desktop file supplied for mate-system-monitor contains a line OnlyShowIn=MATE"

There's no"damn good reason" for the Mate Desktop devs (or the maintainer of that debian package?)
to have specified this ~~ it also works fine under JWM, under iceWM, under fluxbox...

To"fix" this situation, copy its .desktop file /usr/share/applications/mate-desktop-monitor.desktop
to ~/.local/share/applications/mate-desktop-monitor.desktop
and edit the local copy to outcomment (or remove, your choice) the problematic line
;OnlyShowIn=MATE
note: other directives within a .desktop file (e.g. NotShowIn= , NoDisplay= ) can similarly cause the launcher to be ignored

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html"
linktext was:"http://standards.freedesktop.org/deskto ... 01s05.html"
====================================
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
great tip skidoo. this issue drives some of the mx guys who have gone kde nuts for the same reason.