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

I've added a file


and the stuff in all works in gnome. But the menu items didn't show up, even after rebooting.

I then tried adding a menu item "bogusmenu" using kmenuedit. After hitting Save in kmenuedit, bogusmenu appeared, and the menu item associated with also showed up! So what's kmenuedit's secret updater code doing, and how can I call it from command line (specifically, an installation script)?

This is in Linux Educacional 4, which is based on Ubuntu 10.04 with KDE 4.4.5.

Some things which haven't worked:

  • Using xdg-desktop-menu, touching the files in /etc/xdg/menus, running kbuildsycoca.
share|improve this question
up vote 2 down vote accepted

OK, for me what worked was:

Take the file generated the first time you do a save inside KMenuEdit, clean up the "bogus" entry (or whatever change needed to get KMenuEdit to actually save a file there), and then copy that into either /etc/xdg/menus or ~/.config/menus. Magic file: bah!

share|improve this answer

The place where it stores the menu files are usually in /usr/share/menu or /usr/share/applications.

Those are the standard places.

share|improve this answer

I also had a problem with my KDE menu. This occurred after I installed the Openbox desktop to test etc. For some reason I lost my menu list of applications after I returned to the Plasma desktop.

I therefore removed the Openbox desktop via muon but still had the problem. I then went to /etc/xdg/menus and found an entry for Openbox still present. I then removed obconf, the preference manager for Openbox, via the muon package manager and this fixed the problem.

I hope this helps.

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.