Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
Have you tried MenuLibre? You can get it via Synaptic or the Ubuntu Software Center but not via the Lubuntu Software Center (the last time I looked). – user25656 Oct 5 '12 at 7:09
Try to use the locate command or find command to search via terminal . Example: locate "rc.xml" . The file called lubuntu-rc.xml. I don't know if the file remains the same(name) at Lubuntu 12.10 – NikTh Oct 23 '12 at 13:18
at the time of the question menulibre was not available for quantal: but meanwhile it is (as of 24.0ct.2012): – cipricus Nov 26 '12 at 7:46

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/
  • /etc/xdg/menus/

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

share|improve this answer
up vote 6 down vote accepted

If link dead, try this one with the same files that were available before

Execute the LXMenuEditor.jar file (Java needed), and then use the program to add the same file to the main menu... (with no spaces in the path...)

  • Java based
  • Cannot edit the main categories (as alacarte would if it worked)
  • Can open and edit .desktop files as text

enter image description here

On youtube

  • Menulibre (as vasa1 suggested in a comment) is a good solution, as it is available for Quantal 12.10 (it was not at the time of the question). See this and this answer. But, just like LXMenuEditor (and unlike Alacarte), it cannot create/edit main categories.

  • Considering Alacarte in Lubuntu: it deserves a try as far as it can edit/create main categories, but it's actions are indeed only randomly possible in 12.10 , and, as far as I can tell, it doesn't work at all in 12.04. It has to be regarded at this point (version 0.13.2-2ubuntu4) as unsuitable for LXDE/Lubuntu (as it is made for Gnome). Please comment here if this is not the case or if it changes in a new version. For a reason on why it does not work, see this answer.

share|improve this answer

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

share|improve this answer

You can do it this way:

  • Go to /home/username/.local/share
  • Create a folder named applications
  • Create a file named whatever.desktop
  • Edit it (with leafpad) putting something like this:

    [Desktop Entry]
    Name=My dear folder
    Exec=pcmanfm /my_dear_folder
  • Open a terminal (Ctrl+Alt+T)

  • Run:

    lxpanelctl restart


NB: Inside the whatever.desktop file no blank lines should be placed.

share|improve this answer

Using PCManFM

  • Open PCManFM Select from Menu > Go > Applications

  • To Remove : Right click on the icons and select Hide

  • To Add : Ctrl + H to show hidden entries then right click on the icons and select Unhide

  • Run lxpanctl restart in the terminal


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.