2

On my Ubuntu 13.04 machine suddenly all GTK2 applications (like Firefox, LibreOffice etc.) are not themed anymore (I am using Ubuntu's Standard theme). Instead, they are shown with this ugly old default theme. I didn't do anything that could have caused that behaviour, as far as I know. Does anybody know what to do?

UPDATE: Maybe a system crash (I had before), that forced me to do a cold reboot, has damaged some system configurations files. But I don't have an idea which one, or how to check.

enter image description here

The screenshot shows the problem: Gedit is themed and Firefox is not. It occurs only when I log in with my user account. With any other everything is ok.

user5950
  • 6,186
  • 2
    Firefox and LibreOffice are, to a significant extent, gtk2 apps. –  Jul 20 '13 at 16:38
  • @vasa1 Ah, did not know that. Chromium as well? My be it is about GTK2 Apps. – user5950 Jul 20 '13 at 17:01
  • @vasa1 I edited my question. – user5950 Jul 20 '13 at 17:40
  • Yes, Chromium/Chrome as well. As far as I know, Ambiance/Radiance are the "standard" Ubuntu themes and both support gtk2 apps as well as gtk3 apps. Could you mention the exact name and source of the theme you currently are using? If you look in the theme's folder, you should see subfolders for both gtk-2.0 and gtk-3.0. –  Jul 20 '13 at 18:34
  • Did you by chance edit the theme's gtkrc or ~/.gtkrc-2.0? It's possible that wrong syntax can cause a problem. –  Jul 20 '13 at 18:37
  • And the "ugly" minimal look maybe because apps are being themed with Raleigh which I think is the "fallback" theme when the selected theme breaks somehow. –  Jul 20 '13 at 18:48
  • 1
    @vasa I am using Ambiance, the standard theme, and never changed anything. Not for the current user, nor for the system. Regarding the ugly look, I think, you are right. May be the problem is caused by an system crash I had before. I had to do a cold restart. Thank you, for your help! – user5950 Jul 20 '13 at 22:21
  • If a restart fixed your problem, you could mention that an answer. It maybe helpful to others :) –  Jul 21 '13 at 02:10
  • I have the same problem after installing kde and then going back to gnome. – cheshirekow Aug 04 '13 at 00:19
  • The only thing that helped me was to deleted the folder ~/.config/dconf But this will delete many settings you may have mad as well. – user5950 Aug 05 '13 at 11:02

1 Answers1

3

I had a similar problem after installing kde and then going back to gnome. I managed to mostly fix it by editing ~/.gtkrc-2.0. It had references to oxygen theme in it which is the kde theme I guess. So I changed those to Ambiance and ubuntu-mono-dark. No guarantee this will fix it for you though.

style "user-font" 
{
    font_name="Ubuntu Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Ubuntu Regular 8"
gtk-theme-name="Ambiance"
gtk-icon-theme-name="ubuntu-mono-dark"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1