GNOME Bugzilla – Bug 431117
Add OnlyShowIn to desktop files?
Last modified: 2008-03-07 08:47:35 UTC
[ Forwarded from http://bugs.debian.org/314799 ] "Hi, due to the switch to the xdg menu standard both the GNOME and the KDE menus are absolutely bloated if both desktops are installed. As far as I see, everything in gnome-utils has their equivalent in KDE providing identical functionality (eg gnome-dictionary vs. kdict). So you might want to add DontShowIn=KDE to the .desktop files belonging to individual utilities." This bug is quite old, but still valid I think, if you think it's a good idea to add OnlyShowIn=GNOME to the gnome-utils I will happily provide a patch.
you are, indeed, quite right. I've just fixed it in trunk. 2007-09-04 Emmanuele Bassi <ebassi@gnome.org> * gnome-screenshot/gnome-screenshot.desktop.in: * baobab/data/baobab.desktop.in.in: * gnome-dictionary/data/gnome-dictionary.desktop.in.in: * gsearchtool/gnome-search-tool.desktop.in: * logview/gnome-system-log.desktop.in.in: * gfloppy/gfloppy.desktop.in: Only show the GNOME Utilities in GNOME menus. (#431117, Sven Arvidsson)
There is an ubuntu bug mentionning that those are useful under XFCE too: https://bugs.launchpad.net/ubuntu/+source/gnome-utils/+bug/163518 "The gnome-utils are perfectly useful in an Xfce environment, however, they are set to only be displayed in Gnome. gnome-search-tool.desktop, baobab.desktop, gnome-system-log.desktop, gnome-dictionary.desktop, gfloppy.desktop and gnome-screenshot.desktop *all* contain OnlyShowIn=GNOME . As said, they can equally well be used in Xfce, so in that case it would have to be NotShowIn=KDE; . I even think these apps may be useful in a KDE environment too, so perhaps even that shouldn't be there." Reopening the bug, let me know if you prefer a new bug though
*** Bug 520913 has been marked as a duplicate of this bug. ***
fixed in trunk. now the components are not shown in KDE, which already provides suitable counterparts for every tool. 2008-03-07 Emmanuele Bassi <ebassi@gnome.org> * baobab/data/baobab.desktop.in.in: * gnome-dictionary/data/gnome-dictionary.desktop.in.in: * gnome-screenshot/gnome-screenshot.desktop.in: * gsearchtool/gnome-search-tool.desktop.in: * logview/gnome-system-log.desktop.in.in: Do not show the gnome-util components on KDE. (#431117 and #520913)