You are not logged in.
Here's how:
http://img41.imageshack.us/img41/3305/75975390.png
What has changed and how do I modify my theme for the changes?
Offline
Same here. Still using a badly hacked Adwaita to look almost like my lovely (cobbled together) GTK2 theme. I just can't find a GTK3 theme I like. I'm dreading when everything moves to GTK3, guess I'll have to bite the bullet and settle for another theme sooner or later.
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Here's how:
http://img41.imageshack.us/img41/3305/75975390.pngWhat has changed and how do I modify my theme for the changes?
I have exactly the same problem.
Offline
I found a solution (that works for me, anyway!)
find /usr/share/YOURTHEME/gtk-widgets.css ... open and edit it;
you are looking for the theme's background color, which should be somewhere in the 1st hundred lines. Something like this;
GtkWindow {
color: @fg_color;
}
* {
/* inherit the color from parent by default */
color: inherit;
background-color: @transparent; <-------- here it is :)
}
Your theme will list a specific color code like #cdcdcd, #eee or something like that. Change it to match mine; @transparent
Apparently, for some reason or another the Gnome-devs decided to break themes, yet again :\ For some reason all text now uses your background colour (regardless of widget) which was hugely annoying ~ that is, right up until i realized i could just change the background to be transparent After saving the file, you can simply bring up a gtk3 app (make sure there are no other instances of that application) to view changes.
EDIT: ... you may also want to launch gtk3 apps from the terminal, as you may find some errors with your theme that could easily be fixed at the same time. Most of the errors i have seen are related to gtk 3.6 expecting 'px' behind certain values/numbers (not unlike the gtk 3.4 upgrade).
cheerz
Last edited by triplesquarednine (2012-10-31 18:19:44)
Offline
I found a solution (that works for me, anyway!)
find /usr/share/YOURTHEME/gtk-widgets.css ... open and edit it;
you are looking for the theme's background color, which should be somewhere in the 1st hundred lines. Something like this;
GtkWindow { color: @fg_color; } * { /* inherit the color from parent by default */ color: inherit; background-color: @transparent; <-------- here it is :) }
Your theme will list a specific color code like #cdcdcd, #eee or something like that. Change it to match mine; @transparent
Apparently, for some reason or another the Gnome-devs decided to break themes, yet again :\ For some reason all text now uses your background colour (regardless of widget) which was hugely annoying ~ that is, right up until i realized i could just change the background to be transparent After saving the file, you can simply bring up a gtk3 app (make sure there are no other instances of that application) to view changes.
EDIT: ... you may also want to launch gtk3 apps from the terminal, as you may find some errors with your theme that could easily be fixed at the same time. Most of the errors i have seen are related to gtk 3.6 expecting 'px' behind certain values/numbers (not unlike the gtk 3.4 upgrade).
cheerz
Weird, as for me this didn't fix the problem.
Offline
Weird, as for me this didn't fix the problem.
hmmm... if i were you i would have a poke through gtk-widgets.css, specifically the Menus / menubar section ... In my theme, i have background-color: and background-image: defined for things like menubar, menuitem, etc + their states ( :prelight, :active, :insensitive, etc). Which could be making a difference.
What theme are you using anyway, out of curiosity?
I had noticed some newer themes on Deviant art and at gnome-look.org that advertise Gnome 3.6 support, it might be worth a look, if you can't fix it yourself (?)... I was going to do that but didn't want to give up my customized theme and have to start from scratch.
cheerz
Offline
I'm afraid it didn't work for me either. I got a strange mix of some menus back to normal and some still "corrupted", plus I did have some transparent parts which look really odd! Thanks for posting though, worth a try.
Last edited by fabertawe (2012-10-31 18:49:47)
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Does not work for me as well.
Last edited by MatejLach (2012-10-31 19:06:40)
Offline
I have updated my used theme Ambiance-Precise with the one from https://code.launchpad.net/~ubuntu-art- … emes/trunk and everything seems to be fine there.
Offline
Here's a quick & dirty fix, as mentioned in this article:
when the themes are put in /usr/share/themes instead of ~/.themes, they are handled correctly by Gnome 3.6, and there are no background/window decoration/nautilus glitches...
This is obviously not a good way to proceed, so let's hope that the Gnome dev team fixes this issue soon!
Offline
I'm afraid it didn't work for me either. I got a strange mix of some menus back to normal and some still "corrupted", plus I did have some transparent parts which look really odd! Thanks for posting though, worth a try.
Ya, that is probably because some of your menu-items have/don't have background-colors defined. my fix probably exposed which ones were using bg_color ~ with @transparency had no colors defined, it would be obvious (it looked transparent / discolored around text right? like boxes stacked inside the menu for each entry?). If for each one (menu-item + prelight, active, insensitive, etc) you had a color defined (namely the menu's bg color) or hooked into another color code entry in settings.ini (that is the same color code as your menu), then they would not appear transparent.
anyway, unfortunately you'll probably need to hack on your theme a bit (experiment), wait for an update or look for a gtk 3.6 theme.
I might upload mine, at some point (still changing it around a little),
cheerz
Last edited by triplesquarednine (2012-10-31 21:35:25)
Offline
Here's a quick & dirty fix, as mentioned in this article:
when the themes are put in /usr/share/themes instead of ~/.themes, they are handled correctly by Gnome 3.6, and there are no background/window decoration/nautilus glitches...
This is obviously not a good way to proceed, so let's hope that the Gnome dev team fixes this issue soon!
Thats not the case for me. I have all my themes in /usr/share/themes/ and they are broken.
Offline
in 3.6 theming somewhat changed, first themes need to be in /usr/share/themes, having them in ~/.themes wont work.
Then they seem to have changed some options inside of the themes, which makes 3rd party themes not behave well or not work at all.
Install unico engine (bzr) from AUR, this fixes at least a handful of themes. (I know this works for the recently released faience theme)
Dont expect all themes to work tho
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
in 3.6 theming somewhat changed, first themes need to be in /usr/share/themes, having them in ~/.themes wont work.
...or you can still manually copy the theme's gtk-3.0 folder's content to ~/.config/gtk-3.0/ and gtk-2.0 content to ~/.config/gtk-2.0/ - this still works.
Offline
anyway, unfortunately you'll probably need to hack on your theme a bit (experiment), wait for an update or look for a gtk 3.6 theme.
It's all "experiment" with me unfortunately If I get the time and inclination I'll have another crack at it. Prompted by the latest breakage I've had another look for a new theme but still can't find one I like.
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
in 3.6 theming somewhat changed, first themes need to be in /usr/share/themes, having them in ~/.themes wont work.
Then they seem to have changed some options inside of the themes, which makes 3rd party themes not behave well or not work at all.Install unico engine (bzr) from AUR, this fixes at least a handful of themes. (I know this works for the recently released faience theme)
Dont expect all themes to work tho
I have merged the 'gtk-3.0' folder of my current theme, with the faience theme and at least I can now see the text properly, however my GTK3 apps do look a bit strange now.
I really hope that the GNOME devs will fix this before breaking it (yet) again :-(
Offline
I have had this same issue. To fix it, I simply created ~/.config/gtk-3.0/gtk.css and added:
GtkLabel {
background-color: @transparent;
}
This affects/overrides all gtk3 themes.
Last edited by clkmsc (2012-11-03 18:29:04)
Offline
I have had this same issue. To fix it, I simply created ~/.config/gtk-3.0/gtk.css and added:
GtkLabel {
background-color: @transparent;
}This affects/overrides all gtk3 themes.
Works for me.
Thanks!
Offline
Worked for me too Thanks clkmsc
Edit: I also cleaned up all the theme parsing errors from gtk-widgets.css. Happy bunny again.
Last edited by fabertawe (2012-11-04 15:30:43)
Ryzen 9 5950X, X570S Aorus Pro AX, RX 6600, Arch x86_64
Offline
Hello,
I also found (another) fix when I investigated on the problem (the fixes listed here didn't work for my Zukitwo-Colors themes). The version of gtk-engine-unico in the repositories is built from the revision 139, which did a lot of "removing unused code", which is not really unused (ie code used to draw checkboxes was removed with other useful stuff...).
So I found a patch which kills unico's rounded borders management which caused the segfault of gtk3 apps, and I made a pkgbuild to make an "alternative" unico engine. This patch can be found here: https://code.launchpad.net/~robert-ance … rge/110231, and here is the PKGBUILD : http://pastebin.com/uPnqfuYW (some rounded borders won't be rendered with this patched unico engine, so you may have to fix themes to have proper rounded borders).
Offline
Hello,
Maybe you can add all of your themes to
~/.locale/share/themes
Offline
The glitches of my theme were caused by removed code in the revision used by the official package, so putting my themes in ~/.local/share/themes won't change anything (I'm talking about glitches with checkboxes which are not rendered correctly, or ugly borders around menus, buttons, etc)
It's a unico issue, not really a gtk3 one. Hope unico team will fix that for the next release.
Last edited by supersnail (2012-11-13 10:33:55)
Offline
I spent the weekend trying out themes. I noticed something funny: Audacious (GTK3) would not display my new theme correctly until I deleted its "dot config" files.
So, my suggestion would be, when trying a new or modified theme, to try it on a fresh start, for example, by adding a new temporary user on your computer to try it out.
As for me, I'm considering uninstalling all GTK3 applications...
Offline
@drcouzelis: did you try my modified PKGBUILD to check if it partially solves the problem ? (this fix just disables rounded corners who caused segfault in gtk 3.6, instead of using the revision 139 of unico engine, which deleted a lot of useful things used by themes).
This pkgbuild solved the problem for me
Offline
@drcouzelis: did you try my modified PKGBUILD to check if it partially solves the problem ?
Good find! I'm sorry, no, I didn't try the modified PKGBUILD file. Instead, I decided last night to uninstall every GTK3 application I was using. It was a lot easier to do than I thought it would be.
Offline