2

After installing one application that put its launcher in the wrong menu category I decided to relocate it to its correct category. To this effect I edited the Applications menu (right click on it -> Properties -> Edit menu). After making little changes to the menu its entries disappeared and now looks like shown in the following image:

No entries in the main XFCE menu

I have looked at the instructions in the XFCE Wiki and I'm supposed to do:

# cp ~/.cache/xfce4/desktop/menu-cache-name-of-the-generated-file.xml ~/.config/xfce4/desktop/menu2.xml
# cd ~/.config/xfce4/desktop/
# cat menu.xml > menu3.xml
# cat menu2.xml >> menu3.xml
# mv menu.xml menu.orig.xml
# mv menu3.xml menu.xml

but there's no ~/.cache/xfce4/desktop/ directory in my computer.

What can I do to restore the main applications menu?

PS: I'm using Ubuntu 10.10 Maverick Merkat with XFCE.

  • does this help? if yes, I'l post it as an answer – Philomath Jul 18 '11 at 23:46
  • OK, I read that information but deals with lost panels and main menu. In my case the main XFCE menu is there but without any child elements (entries). – Sergio Jul 19 '11 at 10:26
  • Please don't post answer data in the question. Instead add an answer of your own below and after the timeout if nothing better turns up, accept it as correct. – Caleb Jul 19 '11 at 11:20
  • @Caleb: Done!!! – Sergio Jul 19 '11 at 11:46
3

This should restore the menu to your panel:

  1. Right Click on your panel
  2. Select Add New items from the pull up list
  3. Scroll down to the bottom of the resultant dialog
  4. Click on Xfce Menu
  5. Click on the Add Button

and, as per the link provided by Philomath, you can elect to change the title to "Applications."

3

I finally found a solution by myself. Reading here and there I found some promessing xml files in the /etc/xdg/menus directory. From there I copied the xfce-applications.menu file to ~/.config/xfce4/desktop/menu.xml and edited the main application menu in my desktop to take its entries from that file (right clicked on the main menu -> Properties -> Use custom menu file). Everything came back to normal.

I would like to thank everybody (specially those who provided some hints) for their help.

  • I found that deleting/renaming ~/.config/menus/xfce-applications.menu will fix the problem also – tsvikas Oct 25 '17 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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