15

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.

  • 3
    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 – NickTux 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 – user47206 Nov 26 '12 at 7:46
  • Just use PCManFM->Go->Applications. MenuLibre and Alacarte are derped. – Dominic Cerisano Sep 9 '17 at 13:34
8

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.

7

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

7

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

4

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.

  • The categories don't match the menu names, so check this list for the available categories. – Don Kirkby Feb 19 '17 at 22:57
3

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

Done!

0

In 16.04 go to -/.local/share/applications and delete the offending item. Then openbox --restart

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.