You are not logged in.

#1 2012-04-25 14:53:58

Kinux
Member
Registered: 2010-06-05
Posts: 42

[SOLVED] Broken GTK3 Themes

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)

Offline

#2 2012-04-25 17:43:48

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Broken GTK3 Themes

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

"How to Succeed with Linux"

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).

Offline

#3 2012-04-25 19:03:56

Kinux
Member
Registered: 2010-06-05
Posts: 42

Re: [SOLVED] Broken GTK3 Themes

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.

Offline

#4 2012-04-26 21:27:59

Kinux
Member
Registered: 2010-06-05
Posts: 42

Re: [SOLVED] Broken GTK3 Themes

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.

Offline

#5 2012-04-26 21:46:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: [SOLVED] Broken GTK3 Themes

Not running XFCE here though, but both gtk3 and gtk2 apps work fine. Themes display correctly (tested with Evince and EasyTAG).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2012-04-27 03:12:01

Padfoot
Member
Registered: 2010-09-03
Posts: 381

Re: [SOLVED] Broken GTK3 Themes

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.

Offline

#7 2012-04-27 15:44:21

Kinux
Member
Registered: 2010-06-05
Posts: 42

Re: [SOLVED] Broken GTK3 Themes

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.

Offline

Board footer

Powered by FluxBB