Red Hat Bugzilla – Bug 999158
gtk2/gtk3 defaults under /usr/share not found/used
Last modified: 2018-03-04 05:04:44 EST
This has been an issue for a number of weeks, but no one else seems to have filed it. ;)
are all installed. The icons on the greeter window show broken instead of whatever they should be.
Happy to provide a screenshot and/or check anything you like.
rpm -q lightdm-gtk
In particular, this was reportedly fixed using lightdm-gtk-1.6.0-3.fc20 . Does that one help for you too?
lightdm-gtk-1.6.0-3.fc20.x86_64 here and it doesn't seem to help. ;(
After this weeks Branch of Fedora Rawhide(20) to Fedora 20 and the updates that followed the Fedora 20 branch still has the missing icons. The new Fedora Rawhide(21) and after the updates that followed it still has the missing icons.
This is obviously not a important situation for Fedora.
But I solved this on my own. I switched to Magiea and Xfce from their system install.
Everything works just great. But thanks for your efforts. I hope you have more success in the future.
By using the configuration files from the other distribution that I mentioned as examples and with help from a hint from the Xfce mailing list I have found the Fedora problem.
In the file named lightdm-gtk-greeater.conf is a line that reads
In the Fedora version in Fedora 20 and Fedora 21 (Rawhide) it is commented out with a '#' and is 'empty'
By removing the '#' and adding a name of an installed icon theme after the '=' the icons in the Greeter return.
Good that setting one works, but lightdm should default to one (and require that so the default works), IMHO.
I see the benefits of custom configuration but in this case I would have thought that the Package Maintainer would set this to use the 'system default' theme icons.
Indeed, that is what is expected. The toolkit default (presumably gnome-icon-theme) should be used (and work), when no custom one is defined.
I think I've found one issue, which seems to be f20+ specific, and why this doesn't occur on f19:
$ grep icon-theme /etc/gtk* -r
/etc/gtk-2.0/gtkrc:gtk-icon-theme-name = "gnome"
/etc/gtk-3.0/settings.ini:gtk-icon-theme-name = gnome
$ repoquery --whatprovides /etc/gtk-2.0/gtkrc
$ repoquery --whatprovides /etc/gtk-3.0/settings.ini
These have been moved to
respectively, but I suspect, these new location may not work right.
Anyone seeing this, mind creating quick-n-dirty symlinks
ln -s /usr/share/gtk-3.0
ln -s /usr/share/gtk-2.0
and see if that makes things work again? If so, looks like a gtk theming issue.
Yeah, I think this is it,
In the absence of an Xsettings manager, GTK+ reads default values for settings from settings.ini files in /etc/gtk-3.0, $XDG_CONFIG_DIRS/gtk-3.0 and $XDG_CONFIG_HOME/gtk-3.0.
XDG_CONFIG_DIRS default value is /etc/xdg
Yep. the gtk-3.0 link fixes it here.
Spoke with mclasen on irc, he's going to look into it.
Your suggestion works for me also. In Fedora 20 to be as well as in Rawhide to be Fedora 21.
Per IRC followup:
[09/06/13 08:51] <mclasen> rdieter: fixed upstream, will trickle into f20 next week or so
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.
More information and reason for this action is here:
Proposed as a Blocker and Freeze Exception for 20-final by Fedora user rdieter using the blocker tracking app because:
Environments without any settings daemon will have broken gtk2/gtk3 defaults. One concrete symptom is missing/broken icons in lightdm, which affects multiple spins (including xfce, mate).
*** Bug 1008929 has been marked as a duplicate of this bug. ***
This is fixed in gtk2-2.24.21-1.fc20.x86_64 and gtk3-3.9.16-2.fc20.x86_64
Another thing about these icons.
The possibility of changing the size of icons stopped working by introducing the GTK+ version >= 3.9.14.
Never enough fun. :)
I'd suggest you file a separate bug/issue, that seems unrelated to the topic(s) here.
It's a feature, not a bug, right Mat? :)
Tested with gtk3-3.9.6/8-1.fc20.
Over and out.
The builds mclasen references went stable long ago, so closing.
I've just installed F20 and this bug seems to appear on my desktop. Under KDE all gtk applications looks ugly. Symlinks to /etc/gtk-* or confguration file in $HOME/.gtkrc-* do help. Should we reopen the bug?
I have gtk2-2.24.22-2.fc20.i686 gtk3-3.10.5-1.fc20.i686
Never mind about my last comment, it looks like to be the KDE problem, not gtk.