Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
2  
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): ppa.launchpad.net/menulibre-dev/devel/ubuntu/dists –  cipricus Nov 26 '12 at 7:46
add comment

4 Answers

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

share|improve this answer
add comment
up vote 4 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
add comment

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
add comment

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]
    Type=Application
    Categories=Utility
    Name=My dear folder
    Icon=/usr/share/icons/gnome/48x48/places/folder.png
    Exec=pcmanfm /my_dear_folder
    
  • Open a terminal (Ctrl+Alt+T)

  • Run:

    lxpanelctl restart
    

Done!

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

share|improve this answer
add comment

Your Answer

 
discard

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.