Xfbook, Xfdiff, Xffm etc in Gnome menu
Daichi Kawahata
daichi.k at aioros.ocn.ne.jp
Thu Jun 2 10:57:09 CEST 2005
On Wed, 01 Jun 2005 16:05:02 -0700
Brian J. Tarricone wrote:
> > Could you take a look at this, please:
> > https://bugs.gentoo.org/show_bug.cgi?id=80233
> >
> > Is this a shortcoming of Gnome's menu generator?
>
> No, this is normal, expected behavior. It's not a "gnome" menu. It's
> just a menu, and it should contain all applications installed on the
> system that conform to the freedesktop.org spec. xfdiff, xfbook,
> etc., while they are "Xfce apps", don't really fall into the category
> of something that should have OnlyShowIn set. OnlyShowIn is for stuff
> that is truly desktop-specific, e.g., something like desktop settings
> panels that only work in that particular desktop. Xffm's tools are
> general-purpose and should appear if you have them installed. If you
> don't want them to appear, then don't install them.
I guess that "gnome" menu means there's menu group "gnome" according to
GNOME category at the desktop files, while xfce-registered-categories.xml
treats them (GNOME GTK, KDE Qt, X-XFCE) in the same menu level.
Okay, I might misunderstand spec. then, let me explain my situation,
I've installed both Xfce and GNOME and sometimes switch them by using
different .xsession script or login account. In this case, if I want to
use Nautilus in the Xfce, I use command line from terminal or register
it at panel launcher and vice-versa.
Without OnlyShowIn key, I'll have to see mixed desktop menu on the both
desktop environment. Sure as you said, Xffm related tools' purpose is
towards general usage but these come with xfce-filemanager-settings
(Xfce-specific), and I don't think it's reasonable using OnlyShowIn key
only against xfce-filemanager-settings.desktop file.
Also it was confusing for me since nautilus-home.desktop & Xftree.desktop
have similar name entry, that's why I had asked Edscott to change the
name for this package, at the same time I've added OnlyShowIn=GNOME; for
not only Nautilus related desktop files but also other GNOME related ones
without some exceptions. That can be said in general if an application
has their counter partner in the different desktop or similar one exists.
Note that, one thing I'm worried about if there's no OnlyShowIn key is
that an author needs to care about name conflict among the other packages
(being installed, will be installed, hardly happens at Name entry though),
especially GenericName entry might be lost its sense in such a case (I'm
uncertain proper usage of this key though).
To make things clear, I'd like to hear your opinion when OnlyShowIn key
should be used,
a. Categories entry has both 'X-XFCE' and 'Settings'
b. Categories entry has 'X-XFCE' anyway
c. An application depends the almost of all libxfce* libraries
d. An application uses even one of libxfce* libraries
e. Up to an author
As for the above, I tend to think case 'b' or 'c' might be appropriate,
on the contrast, if there's no X-XFCE category or doesn't use any kind
of xfce libraries, OnlyShowIn=XFCE; shouldn't be used against them, such
apps would only depend one of GTK+, Qt, X11, OpenGL (MesaGL) libraries.
Still lacks a valid explanation, but already beyond my English level.
I must say I don't know if editing xfce-registered-categories.xml would
be the answer. Thank you for your reading (long post).
Regards,
--
Daichi
More information about the Xfce4-dev
mailing list