[SOLVED] Latest current updates .gtkrc-2.0 doesn't appear to work.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Latest current updates .gtkrc-2.0 doesn't appear to work.
Hi guys, little help please.
Since updating from current+Robby's xorg patches to Pat's latest current update this morning I've found that my gtk2 theme doesn't seem to be working any more. It seems to have switched to some ugly off-grey brown colour and looks very ugly indeed.
Up until now, I've set the theme with a ~/.gtkrc-2.0 as follows
The theme's gtkrc file still seems to exist under the appropriate directory in /usr/share/themes/...
This is under the lightweight window managers. I don't have KDE installed.
Running /usr/bin/xfsettingsd puts everything back how it should be, but I've not needed to run this in the past. The ~/.gtkrc-2.0 was enough on it's own and I'd prefer not to have to run a daemon if not necessary.
Is anyone aware of any changes in this area that would explain why my ~/.gtkrc-2.0 no longer takes affect?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Thanks Speccy, looks like you're right. 'Include' works, and it seems it's the gtk-theme-name option that has broken. It was my understanding that the gtk-theme-name was the recommended way of doing this rather than using include, so the question now is: bug, or functional change?
In /etc/profile.d/gtk+.sh, the environment variable GTK2_RC_FILES is set to value "$HOME/.gtkrc-2.0:/etc/gtk-2.0/i486-slackware-linux/gtkrc". If this variable is set, GTK applications read the configuration from the given files. Because the system configuration file /etc/gtk-2.0/i486-slackware-linux/gtkrc is specified after the configuration in home directory, it will override settings in .gtkrc-2.0. In /etc/gtk-2.0/i486-slackware-linux/gtkrc, gtk-theme-name is set to "GTK+", and overrides the one set in the users config.
Thu Nov 18 00:05:34 UTC 2010
l/gtk+2-2.22.1-i486-2.txz: Rebuilt.
Changed GTK2_RC_FILES to favor the settings in $HOME/.gtkrc-2.0.
Thanks to Fidori on LQ.
Exporting GTK2_RC_FILES broke the way KDE applies its theme to non KDE applications.
If you want to get that back apply $HOME/.kde/share/config/gtkrc-2.0
to the /etc/profile.d/gtk+.sh and gtk+.csh lines:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.