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 just want to know the exactly original content of these two files: ~/.config/menus/ and ~/.config/menus/ Mine were changed after some alacarte testing and now I want to revert all the changes as in the original state.

Thank you. :)

share|improve this question
up vote 7 down vote accepted

Those files do not exist until you modify them, as only the changes you make are written to the file, overriding the automatically generated defaults.

If you want to reset to the default menu contents et al, just remove the files. To be on the safe side, move them some other place first:

mv ~/.config/menus/ ~
mv ~/.config/menus/ ~

You now have the backup files in your home directory. If for some reason you want to restore the files to their previous state, you can move them back like so:

mv ~/ ~/.config/menus/
mv ~/ ~/.config/menus/
share|improve this answer
Wow, seems like magic! :) Thanks! – Paulo Freitas Dec 29 '10 at 14:57

Alternatively and perhaps more simply:

  1. Right click the menu applet
  2. Click Edit Menus
  3. Click the Revert button in Alacarte (the menu editor that should have loaded).
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.