GNOME Bugzilla – Bug 733420
Adwaita not installed
Last modified: 2014-07-21 23:50:40 UTC
Hi, Since the Adwaita move to GTK+ it is no longer installed in /usr/share/themes/Adwaita/gtk+3.0/ This means there is no way to select it in g-t-t and the assets+css are not available (it could be that the assets are compiled in - I'm not sure how this works - but without the actual folder if you select a different theme, it's impossible to switch back as it is not listed). Simply copying the *.css and the assets folder to the correct location was sufficient for me. Perhaps if the resources are compiled in, just the gtk.css and the gtk-dark.css would be sufficient?
This should be fixed in the tweak tool. It can just assume that gtk3 adwaita is available.
Sounds reasonable. Perhaps other tools need similar fixes too? e.g. is there a GTK theme selector under e.g. KDE where I guess the gsetttings stuff doesn't kick in (I could be misunderstanding how this works tho')? Perhaps just installing the stub gtk.css + gtk-dark.css allows for everything to work without any other problems (I confirmed my guess above that these were enough as the other resources were baked into the binaries - although I'm sure you knew that!). It certainly "feels" more sensible while looking in the /usr/share/themes/Adwaita/ folder where there is a gtk-2.0 folder, but no gtk-3.0. Not that that is a great argument of course, but I guess what I mean is, do these files (or perhaps just the folder) form part of the "API" for enumerating what themes are available? If not, is there a standard API for that - or is the rule "look for the /usr/share/themes/*/gtk-3.0 folders and then the theme exists + Adwaita."? It was interesting reading your blog post recently about the switch, as I never knew the name of the old default theme as I don't think it ever showed up in tweak tool either (tho' perhaps I'm mistaken - don't have an older install to hand now to compare!) I'm sure it was always blank for me in tweak tool and I was never able to change it for fear of not being able to go back!
Any comment on the above Matthias or is it not an issue?
gnome-themes-standard 3.13.4 ships an empty Adwaita gtk.css file https://git.gnome.org/browse/gnome-themes-standard/commit/?id=071bb551ee6781e4eb3270cd007fd7a5ee90f3d6
Ahh OK, thanks Olav! Seems odd to ship this in a separate package that is ultimately optional from a "pure gtk" perspective, but fair enough. I doubt it'll matter to anyway in practice.