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.

I just want to know the exactly original content of these two files: ~/.config/menus/applications.menu and ~/.config/menus/settings.menu. 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
add comment

2 Answers 2

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/applications.menu ~
mv ~/.config/menus/settings.menu ~

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 ~/applications.menu ~/.config/menus/
mv ~/settings.menu ~/.config/menus/
share|improve this answer
    
Wow, seems like magic! :) Thanks! –  Paulo Freitas Dec 29 '10 at 14:57
add comment

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
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.