How can I restore a broken theme in GNOME Shell?
Solution 1
After trying 101 things, the solution that finally worked for me was taking a backup of ~/.config/dconf/
and then removing it. This was regenerated again after the next reboot, with the default window and icons themes coming back.
Note: I also lost a few minor customisations I'd made, and had to redo them again manually.
Solution 2
Today I felt the same anger, but after seeking in dconf-editor, I found a solution (without deleting any config files from your home dir!!!)
If the gnome-settings-daemon
running, start the dconf-editor
and in the settings tree (left side of the window) look for the org -> gnome -> settings-daemon -> plugins.
There are the key on/off switches, so go through on the topics, and put the pipes to the "active" boolean options. For example, my gtk-theme settings didn't do anything until I set the org->gnome->settings-daemon->plugins->xsettings->active to True!!! Also important the 'font', 'media-keys' (for laptop spec keys), etc. Where the default settings is 'True', there should it set to it.
Hope it'll works for the same victims (without erase the settings files and start anything from the beginning). And sorry for my English...:)
Related videos on Youtube
wim
Hi from Chicago! Python dev with interest in mathematics, music, robotics and computer vision. I hope my Q&A have been helpful for you. If one of my answers has saved your butt today and you would like a way to say thank you, then feel free to buy me a coffee! :-D [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*
Updated on September 18, 2022Comments
-
wim over 1 year
My GUI has changed into some crappy looking theme, I don't know why it happened and I want to get the default looks back!
It happened after I was mucking around trying to get the purple grub menu splash to go away, so that I could see dmesg during boot, and I followed the instructions in this accepted answer to do
sudo apt-get remove plymouth-theme-*
and reboot. Unfortunately, now I've got an ugly Gnome and ironically the bootloader splash screen remained anyway.Of course I first tried
sudo apt-get install plymouth-theme-ubuntu-logo plymouth-theme-ubuntu-text
, which were the two that got removed by the previous step, but even after reboot it was still the ugly gnome.Next I tried
gnome-tweak-tool
but it was all set to ambiance theme which should be correct. And then I triedlxappearance
app which looked promising but didn't fix the problem either.How can I get my old window and icons looks back?
- Desktop forgets theme? doesn't work for me
-
wim over 12 yearsThe answers in that thread did not solve the issue for me, furthermore I am not running Ubuntu in a virtual machine
-
Uri Herrera over 12 yearsThis is due to the same issue there
gnome-settings-daemon
crashes and the theme doesn't load. -
wim over 12 yearsNot in my case it wasn't.
-
mrcktz about 11 yearsYou will loose more than some minor customisations! You'll loose all your unity settings for example. Please backup the folder before removing it. You should add this to your answer.