How to change scroll bar color

Red Squirrel

No Lifer
May 24, 2003
70,285
13,643
126
www.anyf.ca
How do you go about changing the scroll bar colour in Linux? The light gray is very hard to see where the position is at since there's not enough change in colour. I want to make it black or something so it stands out more.

Os is Linux Mint 17.1 Mate.
 

lxskllr

No Lifer
Nov 30, 2004
59,609
10,114
126
You'll have to poke through the theme file. Look in /usr/share/theme, or something like that. You may be able to do it through Mate's tools, but it's been so long since I've run Gnome2, I can't remember.
 

Jodell88

Diamond Member
Jan 29, 2007
8,762
30
91
Was just playing with that, actually. Changing the colours was not doing anything. I was able to change the theme of the scrollbar though, but not the colour. I'll play around with modifying those files, I just hate doing stuff that requires to reboot if I can avoid it.
You don't need to reboot.
 

Red Squirrel

No Lifer
May 24, 2003
70,285
13,643
126
www.anyf.ca
You don't need to reboot.

If I edit a config file? Normally changes don't take effect until you reboot. Or "restart X" which still requires closing and reopening all the stuff you were working on, so it may as well be a reboot. The GUI tools on the other hand apply the settings right away.

Played around in those files but really not sure what to edit. There's various xml and non xml files all over and it seems to vary from theme to theme. Would be nice if they had a GUI tool like in Windows. The gnome tool is closest thing but the scrollbar option does not do anything.

Edit: I sorta got it to work, it's really finicky though. The options don't do what they mean. "Button pressed" for example is the colour of the entire bar while normal is the scroll bar button part itself. You also can't do it to the default theme, you need to set a specific scrollbar theme. The options change around depending on what theme you pick. Really odd. Works now anyway, without having to edit files, just really missleading options/settings and have to really mess around and pick different themes till one works.
 
Last edited:

lxskllr

No Lifer
Nov 30, 2004
59,609
10,114
126
If I edit a config file? Normally changes don't take effect until you reboot. Or "restart X" which still requires closing and reopening all the stuff you were working on, so it may as well be a reboot. The GUI tools on the other hand apply the settings right away.

If you're changing a theme's config file, changing to a different theme and back is sufficient.
 

Red Squirrel

No Lifer
May 24, 2003
70,285
13,643
126
www.anyf.ca
If you're changing a theme's config file, changing to a different theme and back is sufficient.

Oh that's good to know. Was going to mess with this in a VM if I figure out what to edit. Managed to sorta get it to work though. Really seems to depend which theme you pick, and in gnome color picker it also depends which theme you have set for the scroll bar.