Editing the Xfce menu.

Discussions Regarding Software

Moderator: Moderators

Post Reply
nomko
Young Hen
Posts: 37
Joined: Fri Dec 27, 2013 21:57
Location: The Netherlands

Editing the Xfce menu.

Post by nomko » Fri Jan 17, 2014 9:43

Hi,

To edit the Xfce menu there's Alacarte. I find Alacarte a bit...well...not really my cup of tea. There's a really good alternative: Menulibre. But it is not available in Rigo. I can download a tarball and install it manually.

My question is simple: did anyone tried installing Menulibre in the past and did it worked?
Many thanks!
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router

Fitzcarraldo
Sagely Hen
Posts: 8218
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Editing the Xfce menu.

Post by Fitzcarraldo » Fri Jan 17, 2014 10:04

I haven't used Menulibre, but I have used LXMenuEditor, which is good for editing Xfce's Application Menu. The Xfce Wiki page (Customize the Xfce menu) lists a protracted and complicated procedure for making changes to the Xfce menu files. Fortunately the article also points out that a LXDE tool works for Xfce too:
A GNU-licensed graphical menu editor for LXDE, LXMenuEditor, also works for XFCE, as of XFCE 4.8.0 and LXMenuEditor 20110523.
So I install LXMenuEditor:

Code: Select all

# equo install lxmed
To run LXMenuEditor from the command line you just need to enter the command lxmed. If you do that from your user account you can only use LXMenuEditor to view the menu entries. To be able to edit, add and delete menu entries you must launch lxmed as root user, which of course you can do from the command line too. But I also add LXMenuEditor to the Xfce Application Menu and make it prompt for the root user’s password when launched from the menu. So I do the following:

a) Open a Terminal window, login as root user and launch LXMenuEditor:

Code: Select all

$ su
Password:
# lxmed
b) Click on the 'System Tools' entry in the Categories pane. The Menu Items pane will display the current menu entries in the System Tools category.

c) Click on the 'New Item' button and a window will pop up.

d) In the Name box enter "Application Menu Editor" (without the quotes).

e) In the Command box enter "gksu lxmed" (without the quotes).

f) In the Comment box enter "Edit entries in the Xfce Application Menu" (without the quotes).

g) Make sure the Visible tick box is ticked.

h) Click the OK button.

(x11-libs/gksu should already be installed, but install it if it is not.)

That’s it. If you click on 'Applications Menu' on the Panel there will now be a menu entry System > Applications Menu Editor and, if you click on that, you will be prompted to enter the root user's password. Once you have done that, LXMenuEditor will be launched with root user previleges and you can view and edit the Xfce applications menu.

svantoviit
Old Dear Hen
Posts: 756
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: Editing the Xfce menu.

Post by svantoviit » Sun Jan 19, 2014 9:04

You can edit the XFCE menu by editing ~/.config/menus/xfce-applications.menu
Place the appropriate desktop files into ~/.local/share/applications/
Easy ;)

Post Reply