[SOLVED] Latest current updates .gtkrc-2.0 doesn't appear to work.
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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: