Question on menus

Ryan Daly daly at ctcnet.net
Thu Nov 1 18:31:45 CET 2007


On Thu, 2007-11-01 at 10:24 -0400, Ryan Daly wrote:
> On Thu, 2007-11-01 at 10:37 +0300, RommeDeSerieux wrote:
> > On Wed, 31 Oct 2007 19:28:13 -0700
> > "Brian J. Tarricone" <bjt23 at cornell.edu> wrote:
> >  
> > > Then that's your problem: non-standard categories aren't allowed ^_~.
> > 
> > Why? Isn't that a bug?
> 
> I kind of thought the same thing.  Not to blow KDE's horn, but they
> allow it and they also follow the same freedesktop standard IIRC.

-- UPDATE --

I just stumbled across this.

I have copied the default xfce-registered-categories.xml file
from /etc/xdg/xfce4/desktop.  (At the top of this file, it says you can
copy this to your $HOME/.config/xfce4/desktop to make customizations.)
I added my categories at the bottom.  For example, I have added the
following:

<!-- Local additions -->
	<category name=RDesktop" toplevel="true"/>

Then, in $HOME/.config/xfce4/desktop/menu.xml, I added the following
line:

	<menu name="RDesktop" icon="DESKTOP"/>

And like magic :) it shows up in the menu.  BUT, I did find that if you
do not include the system menu (via the include tag), the above menu
will not show up.  Also, if the above menu is added as a submenu, it
does not show up.

It appears that there still needs to be some work on including menus of
this type, unless I'm missing something, which is entirely possible.




More information about the Xfce mailing list