oarion7
January 30th, 2011, 07:32 PM
Hi everyone
I use a dark theme in gnome, which of course doesn't display correctly on many websites that force a white background onto text input dialogues (I have to type white or light gray on white) - Because of this, I never use a dark theme for more than a few days before I switch back to light, which really sucks - My workaround for this was going to be changing my Firefox launcher so that a custom GTKRC is used.
It works for all applications except for Firefox.
e.g. if I type into a Terminal:
env GTK2_RC_FILES="/usr/share/themes/Redmond/gtk-2.0/gtkrc" speedcrunch
or
bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc speedcrunch'
It loads speedcrunch in Redmond theme, no problem. This works with Pidgin as well. But if I run
env GTK2_RC_FILES="/usr/share/themes/Redmond/gtk-2.0/gtkrc" firefox
or
bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc firefox'
I get Firefox in my normal GTK theme, no Redmond. Even if I run gksudo firefox, it still loads in my own regular GTK theme.
On my system, the Firefox bin file is not a binary but a symbolic link to a shell script inside "/usr/lib/firefox-3.6.13" which in turn loads Firefox. I don't know if this is the norm or not. Could this be related to my problem?
I use a dark theme in gnome, which of course doesn't display correctly on many websites that force a white background onto text input dialogues (I have to type white or light gray on white) - Because of this, I never use a dark theme for more than a few days before I switch back to light, which really sucks - My workaround for this was going to be changing my Firefox launcher so that a custom GTKRC is used.
It works for all applications except for Firefox.
e.g. if I type into a Terminal:
env GTK2_RC_FILES="/usr/share/themes/Redmond/gtk-2.0/gtkrc" speedcrunch
or
bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc speedcrunch'
It loads speedcrunch in Redmond theme, no problem. This works with Pidgin as well. But if I run
env GTK2_RC_FILES="/usr/share/themes/Redmond/gtk-2.0/gtkrc" firefox
or
bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc firefox'
I get Firefox in my normal GTK theme, no Redmond. Even if I run gksudo firefox, it still loads in my own regular GTK theme.
On my system, the Firefox bin file is not a binary but a symbolic link to a shell script inside "/usr/lib/firefox-3.6.13" which in turn loads Firefox. I don't know if this is the norm or not. Could this be related to my problem?