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.

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.

share|improve this question
2  
Firefox and LibreOffice are, to a significant extent, gtk2 apps. –  user25656 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. –  user25656 Jul 20 '13 at 18:34
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

1 Answer 1

up vote 2 down vote accepted

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
share|improve this answer

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.