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 accidently removed Default folder from /usr/share/themes and now can not change the Keybindig theme back to default under advanced setting -> theme. Default option is simply gone, not there anymore. Couldn't get it back... I am using Ubuntu 12.04 with Gnome shell. Any thoughts on what can bring this option back? Thanks!

share|improve this question
up vote 0 down vote accepted

Open a terminal and enter

dpkg -S /usr/share/themes/Default

The command shows you which packages use (and create) this directory. In my case the output is: libgtk1.2-common, libgtk2.0-common: /usr/share/themes/Default. So the best idea would be to reinstall both packages:

sudo apt-get --reinstall install libgtk1.2-common libgtk2.0-common 

So they create the directory and fill it with the correct content.

share|improve this answer
It worked! Thanks!! – Ben Dec 17 '12 at 19:34

I better not ask how and why did you delete it, but anyways, probably you could:

1: reinstall system (aka: upgrade to the same version)

2: get the /usr/share folder from another installation, or from the liveCD/DVD

3: create the folder, and add a new theme

Hope that helps, good luck! Cheers!

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.