Since yesterday update, I have problem with GTK3 applications like gthumb, Evince and Gnome Mplayer that no longer use the Adwaita theme in my XFCE PC and Laptop.
I had a link in my "~/.config" to "/usr/share/themes/Adwaita/gtk-3.0/" and it was working perfectly. After reading some posts, trying to fix this problem, I removed the link and copied a copy of that directory to my "~/.config" to no avail.
Downgrading the "gnome-themes-standard" package from actual 3.4.1-1 to version 3.2.1-1 seems make it work again.
Am I missing something or the new Gnome 3.4 and applications use a new way to set their themes?
I noticed that the new version of Adwaita misses a lot of files in its directory, mostly svg files.
Anyone knows a fix for this?
Last edited by Kinux (2012-04-27 15:16:27)
It may be a permission problem. Did you use "sudo cp ..." when you copied the folder? Because I think they need to belong to your user, not the "root" user.
Run this to confirm:
$ ls -l ~/.config/gtk-3.0
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Thanks for reply.
No, I copied the directory with my user account after seeing the soft link didn't work.
kinux@Dragon /usr/share/themes $>ls -l Adwaita total 20 drwxr-xr-x 2 root root 4096 Apr 16 21:57 backgrounds drwxr-xr-x 2 root root 4096 Apr 16 21:57 gtk-2.0 drwxr-xr-x 2 root root 4096 Apr 16 21:57 gtk-3.0 -rw-r--r-- 1 root root 3809 Apr 16 21:57 index.theme drwxr-xr-x 2 root root 4096 Apr 16 21:57 metacity-1
As you see I have usual permissions.
I can't believe I'm the only user running XFCE and using Evince and gthumb !
If anyone can confirm their system GTK3 theme works side by side the GTK2 ones, I would appreciate and try to dig more to find a solution. This morning after update, my third PC is showing exact same problem!
Thanks for any and all help.
The latest gtk3 update broke themes. So ensure you have updated your theme to a compatible version (ensure you have gtk3-3.4 and a 3.4 theme)
Also, Xfce pulls local themes form ~/.themes, not ~/.config and Xfce will apply the corresponding gtk3 theme from your selected gtk2 theme (if it exists). So you need to ensure you have both gtk2 + gtk3 themes in your selected theme folder.
You state you are using adwaita, so the system installed theme should be fine as it has both gtk2 + gtk3. Ensure you do not have a local version installed so you will select the system version from Xfce appearance settings.
Thank you very much Padfoot.
Good to know someone else noticed the problems with the new GTK3 update. Your explanation cleared my problem.
As I don't like the Adwaita theme for all my system, I was happy using "Dust Sand" in XFCE and with the old setting Adwaita was used only for GTK3 apps.
Now I tried both of these ways based on your explanation and they both worked after clearing all the references from "~/.config" folder to that theme.
1. I copied the "Adwaita" theme to my "~/.themes" and replaced its "gtk-2.0" folder with the one from "Dust Sand" then selecting Adwaita in XFCE Appearance settings.
2. I copied "Dust Sand" to my "~/.themes" and added the Adwaita's "gtk-3.0" folder to it then selecting "Dust Sand" in XFCE Appearance Settings.
I hope someone add an official explanation in Wiki for this problem.