How do I edit applications panel menu in Lubuntu?

Main menu (alacarte) cannot record changes as it should. Some time it does, but randomly and rarely.

Is this a bug?

This question is not a clone of this one. In that case the Main menu would not open, in this case it does but changes are rarely recorded.


Solution 1:

If you want to edit menu entries, the program you want to use is alacarte. Do not waste your time in xml files. Alacarte is the best graphical menu editor for all gtk based menu systems.

sudo apt-get install alacarte

enter image description here

Note/update: alacarte (Main Menu editor) does not work in 12.04 or 12.10 Lubuntu

Solution 2:

The xml file menu.xml responsible for Lubuntu menu is located in/usr/share/lubuntu/openbox/menu.xml. You can edit the xml file there. But it is recommended to copy it in your home folder ~/.local/share/lubuntu/openbox/menu.xml and edit there.

The other two file involved in Lubuntu menu is :

  • /etc/xdg/lubuntu/menus/lxde-applications.menu
  • /etc/xdg/menus/lxde-applications.menu

Take a look at this page about LXDE menus. There is also a Java application which can be used for editing LXDE menus. It called LXMED and can be found on it's project page on sourceforge.net