From: Roland Latour on
How do I edit the XFCE menu system? Is there a tool for that? Where is the
menu information kept? I want to add programs like xv and xload. Thanks for
any help you can give.
From: Roland Latour on
On Mon, 07 Dec 2009 03:07:08 +0000, ljb wrote:

> nobody(a)nowhere.com wrote:
>> How do I edit the XFCE menu system? Is there a tool for that? Where is
>> the menu information kept? I want to add programs like xv and xload.
>> Thanks for any help you can give.
>
> Consider using *.desktop files instead. They are not hard to do, and you
> just put them into your ~/.local/share/applications/ directory (for a
> single user), or in /usr/share/applications/ for everybody. The commands
> defined that way automatically appear under the menus, in the category
> you want. It is easier to maintain this then the text menus.

Thanks, that works well. I rightClick on the desktop and CreateLauncher.
Then I edit the new file in ~/Desktop, then move it to ~/.local/share/
applications. If the file contains "Categories=Application;Graphics;"
then there's a new entry in the Graphics submenu. EXCEPT for the
Accessories submenu. "Categories=Application;Accessories;" doesn't work,
I don't know why. It puts an entry in a new "Other" submenu.

But after some experimentation and searching, I found that
"Categories=GTK;Utility;Filesystem;" WILL put the item in the
Accessories submenu. Weird! Other XFCE users, please note.

Actually I'm using Zenwalk 6.2, a Slackware derivative.
From: Steven J Masta on
Roland Latour wrote:
> On Mon, 07 Dec 2009 03:07:08 +0000, ljb wrote:
>
>> nobody(a)nowhere.com wrote:
>>> How do I edit the XFCE menu system? Is there a tool for that? Where is
>>> the menu information kept? I want to add programs like xv and xload.
>>> Thanks for any help you can give.
>>
>> Consider using *.desktop files instead. They are not hard to do, and you
>> just put them into your ~/.local/share/applications/ directory (for a
>> single user), or in /usr/share/applications/ for everybody. The commands
>> defined that way automatically appear under the menus, in the category
>> you want. It is easier to maintain this then the text menus.
>
> Thanks, that works well. I rightClick on the desktop and CreateLauncher.
> Then I edit the new file in ~/Desktop, then move it to ~/.local/share/
> applications. If the file contains "Categories=Application;Graphics;"
> then there's a new entry in the Graphics submenu. EXCEPT for the
> Accessories submenu. "Categories=Application;Accessories;" doesn't work,
> I don't know why. It puts an entry in a new "Other" submenu.

Accessories is not a valid category - see:
http://standards.freedesktop.org/menu-spec/latest/apa.html

> But after some experimentation and searching, I found that
> "Categories=GTK;Utility;Filesystem;" WILL put the item in the
> Accessories submenu. Weird! Other XFCE users, please note.
>
> Actually I'm using Zenwalk 6.2, a Slackware derivative.

Also see: http://wiki.xfce.org/howto/customize-menu and note the part
about "Categories=X-XFCE;X-Xfce-Toplevel;" to make root entries.

Steve