Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 accidentally messed up my file in /etc/xdg/menus ..... :(

Does anyone know what the default configuration is for this file?

Let's hope I learn my lesson of messing with the original file...

share|improve this question
up vote 2 down vote accepted

I am using the ppas for Xfce 4.10 and 4.12 on Xubuntu 12.04, but I think /etc/xdg/menus/ will be the same as in your version. I have pasted it at Ubuntu paste, so you can retrieve it and reinstall it, logout and login again (but see my notes below).

The menu is in the package libgarcon-common:

libgarcon-common: /etc/xdg/menus/

so this is useful to know, but a reinstall of the package won't replace the config file, and purging the package so it removes the config file would remove a lot of Xfce, so those really aren't options.

Another option would be to download the package from Ubuntu packages (or from the ppa if using one) for your particular Ubuntu version and extract the deb with your archive manager and manually copy to /etc/xdg/menus with:

sudo cp ~/location/of/ /etc/xdg/menus

It is also best to edit the menus in /home/$USER/.config/menus, then you can use the menus in /etc/xdg/menus to replace them if you make any mistakes.

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.