Author Topic: <SOLVED> How to change scrollbar colors to match scheme?  (Read 1149 times)

Offline barryc

  • Sr. Member
  • ****
  • Posts: 321
<SOLVED> How to change scrollbar colors to match scheme?
« on: November 14, 2009, 12:22:45 PM »
Racking my brain trying to find where the settings are to change the color
of my horizontal and vertical scroll bars to match the rest of my window theme.
Using KDE2 windows decorations , Cleanlooks style and my own color scheme based on the default with a few minor color changes.

In Firefox, the scroll bars and menu highlight colors continue to be green as they were in the default color scheme when I installed KDE4.  No matter what scheme and color settings I try, there is no way I can find to change them.  This is with the Firefox default color scheme.
In Kwrite (or any other regular app) the scroll bars are a light grey.

KDE 3 had a lot of choices for the various window widgets colors to be set individually in KDE Control.
KDE 4 doesn't give you a manual selection for the progress bars color.
At least, not anywhere I can logically find it.

This is an official eye-candy emergency.  ???
« Last Edit: November 14, 2009, 04:09:50 PM by barryc »
You gotta have balls to play golf.

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12657
Re: How to change scrollbar colors to match scheme?
« Reply #1 on: November 14, 2009, 01:08:54 PM »
Racking my brain trying to find where the settings are to change the color
of my horizontal and vertical scroll bars to match the rest of my window theme.
Using KDE2 windows decorations , Cleanlooks style and my own color scheme based on the default with a few minor color changes.

In Firefox, the scroll bars and menu highlight colors continue to be green as they were in the default color scheme when I installed KDE4.  No matter what scheme and color settings I try, there is no way I can find to change them.  This is with the Firefox default color scheme.
In Kwrite (or any other regular app) the scroll bars are a light grey.

KDE 3 had a lot of choices for the various window widgets colors to be set individually in KDE Control.
KDE 4 doesn't give you a manual selection for the progress bars color.
At least, not anywhere I can logically find it.

This is an official eye-candy emergency.  ???

The .gtkrc-2.0 file in your home and rootie tootie folder controls the color of the scroll bars and highlight for GTK2 applications such as Firefox.


Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

Offline barryc

  • Sr. Member
  • ****
  • Posts: 321
Re: How to change scrollbar colors to match scheme?
« Reply #2 on: November 14, 2009, 03:40:31 PM »
Thanx Tex.
Found both files and changed the hex color number for nselected_bg_color to #418DD4 which is the (blue) color I'm looking for.
Changed it in both files (usr and root).  Still coming up with the same green (#46889a) scroll bars, menu selection highlights.
Not real clear how that file is parsed.  Did I miss something?
You gotta have balls to play golf.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: How to change scrollbar colors to match scheme?
« Reply #3 on: November 14, 2009, 03:47:13 PM »
More like "when" it is parsed.  Did you restart your session or reboot after the edit?  (Just Guessing)
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline barryc

  • Sr. Member
  • ****
  • Posts: 321
Re: How to change scrollbar colors to match scheme?
« Reply #4 on: November 14, 2009, 03:55:37 PM »
 :o :o :o Duhhhh!

Everything is spiffy now.  I just reloaded the page with this post on it while I was editing and nothing changed.  After I read your post, and after I slapped myself up the side of my head, I closed Firefox, reopened it and, voila, (that's french) blue scroll bars and menu highlights miraculously appeared.

This situation in KDE3 used to have a setting in KControl that could be checked off without having to edit any conf files.
Now if I could only figure out how to accomplish the same blue scroll bars in non-GTK apps (like KWrite, Konqueror, etc)


« Last Edit: November 14, 2009, 04:08:47 PM by barryc »
You gotta have balls to play golf.

Offline denoobifyme

  • Sr. Member
  • ****
  • Posts: 421
Re: <SOLVED> How to change scrollbar colors to match scheme?
« Reply #5 on: April 20, 2010, 02:22:10 PM »
Well, I found the gtk file in my /home file. I did not find it in / file, even with view hidden files check. I opened the file and all it printed was this:

# This file was written by PCLinuxOS
include "/usr/share/themes/Oxygen-Molecule/gtk-2.0/gtkrc"
style "user-font"
{
} widget_class "*" style "user-font"
gtk-theme-name="Oxygen-Molecule"
gtk-font-name="DejaVu Sans 10"

No mention of firefox/thunderbird, no mention of colors I can change. Also, I have the "Glassified" tweak on, if that helps. I have "apply to non-KDE applications" checked as well. It just won't apply them.

I know it's a little thing, but there's so much wrong with kde4 that will never be fixed, and this is something I can fix if someone will just tell me how.

Right now, my selections are red the way I want them, as are my hover shades. Thunderbird and Firefox persist in making scroll and progress bars blue.

If there are any other specs or settings you need to know I will provide them.

This whole "tweaks on top of themes on top of settings on top of theme managers" architecture is one of the definite disadvantage of GNU/Linux. All it does is exponentially increase my opportunities to frustrate myself with my ignorance because I can't understand why anyone would want to do it that way.
Fair warning: I am a whiny, selfish brat who should be denied access to 2010, per a moderator. Box: Acer Aspire One 110-xxxx model. XP wiped (and flushed), 2010 gnome (despite mod) grafted onto 8g flash HD via livecd.