Hacker News new | ask | show | jobs
by tod222 4507 days ago
From looking at the Gnome Developer page "Desktop files: putting your application in the desktop menus" [1], it seems that it wasn't designed to work correctly with more than one desktop installed. This isn't surprising as it's an uncommon use case. [Edit: This is incorrect, see below]

For example, on a system running 13.04 with MATE installed, the Graphics menu has entries for Image Viewer (Eye of Gnome, the default) and Eye of MATE Image Viewer (MATE's port of eog).

Looking in /usr/share/applications there are the two corresponding .desktop files:

/usr/share/applications/eog.desktop /usr/share/applications/eom.desktop

[Edit]: Neither file uses the OnlyShowIn field which is an extension to the desktop entry format designed specifically to handle this case. [2]

[1] https://developer.gnome.org/integration-guide/stable/desktop...

[2] http://standards.freedesktop.org/menu-spec/latest/ar01s03.ht...