After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 431117 - Add OnlyShowIn to desktop files?
Add OnlyShowIn to desktop files?
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: general
2.18.x
Other Linux
: Normal minor
: ---
Assigned To: gnome-utils Maintainers
gnome-utils Maintainers
: 520913 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-18 20:11 UTC by Sven Arvidsson
Modified: 2008-03-07 08:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sven Arvidsson 2007-04-18 20:11:04 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.
Comment 1 Emmanuele Bassi (:ebassi) 2007-09-04 15:20:31 UTC
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)
Comment 2 Sebastien Bacher 2007-11-28 18:37:58 UTC
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
Comment 3 Emmanuele Bassi (:ebassi) 2008-03-07 08:38:15 UTC
*** Bug 520913 has been marked as a duplicate of this bug. ***
Comment 4 Emmanuele Bassi (:ebassi) 2008-03-07 08:47:35 UTC
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)