Scrollbar Sliders Almost Invisable

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
hierbabuena
Level 1
Level 1
Posts: 8
Joined: Tue Jul 29, 2014 8:25 am

Scrollbar Sliders Almost Invisable

Post by hierbabuena » Fri Jun 26, 2015 6:35 am

Hi,
I've got a somewhat dim display on my laptop. In daylight I can hardly see the scrollbar sliders. They got the same color as the scrollbars themselves.

How can I change the slider color? Red would be great :-)

Surely you'll need some system informations to answer my question. How do I find it? Terminal command?

TIA,
hierbabuena

Mik3e
Level 4
Level 4
Posts: 209
Joined: Sat Jan 01, 2011 2:54 pm

Re: Scrollbar Sliders Almost Invisable

Post by Mik3e » Fri Jun 26, 2015 12:50 pm

Slider images are stored in:
/usr/share/themes/[theme-name]/gtk-2.0/images/scroll
There are three horizontal and three verticle. They are .svg images which can be edited with Inkscape. Gimp can edit .svg's but not export to that format.

I haven't tried this so keep your own backups.

Caution, this foolishness is in the class, "hold my beer and watch this".

Edit: it works. The original files are owned by root, which is a minor nuisance. I edited slider-v.svg with Inkscape. It took a reboot to see the effect.

Hoser Rob
Level 14
Level 14
Posts: 5437
Joined: Sat Dec 15, 2012 8:57 am

Re: Scrollbar Sliders Almost Invisable

Post by Hoser Rob » Sat Jun 27, 2015 8:21 am

You didn't say which DE you're using so it's impossible to say exactly what to do, but there are different widget themes available in the settings menu. SOme of them will have sliders with more contrast. It's probably better to go for that than dick around with changing the widget theme you're using.

hierbabuena
Level 1
Level 1
Posts: 8
Joined: Tue Jul 29, 2014 8:25 am

Re: Scrollbar Sliders Almost Invisable

Post by hierbabuena » Mon Jun 29, 2015 5:33 pm

What is a DE, desktop environment? I found this command somewhere in forums.linuxmint.com

Code: Select all

cat /etc/linuxmint/info
RELEASE=17.1
CODENAME=rebecca
EDITION="Cinnamon 32-bit"
DESCRIPTION="Linux Mint 17.1 Rebecca"
DESKTOP=Gnome
TOOLKIT=GTK
I found the .svg images, thanks a lot! My girlfriend uses Inkscape at work. She said she'll pimp up my sliders :-)

I'll post a screenshot (+ the files if you like).

hierbabuena
Level 1
Level 1
Posts: 8
Joined: Tue Jul 29, 2014 8:25 am

Re: Scrollbar Sliders Almost Invisable

Post by hierbabuena » Fri Aug 09, 2019 1:59 pm

Meanwhile on Tara...
Changes disappeared with every update - no progress so far: default scrollbars and sliders still grey in grey :-(

User avatar
roblm
Level 10
Level 10
Posts: 3354
Joined: Sun Feb 24, 2013 2:41 pm

Re: Scrollbar Sliders Almost Invisable

Post by roblm » Fri Aug 09, 2019 3:52 pm

Copy the theme to the .themes folder (a hidden folder) in your Home directory and edit the slider-v.svg and slider-h.svg files in that location. Any changes will have priority over the original location and won’t be affected by updates.

For example, for the Mint-X theme: sudo cp -R /usr/share/themes/Mint-X ~/.themes/Mint-X

Change the owner from root to yourself. Change your-user-name to your actual user name:
sudo chown -R your-user-name ~/.themes/Mint-X

If your’re using the Linux Mint theme, which has a space in it’s name, then use these commands:
sudo cp -R /usr/share/themes/Linux\ Mint ~/.themes/Linux\ Mint
sudo chown -R your-user-name ~/.themes/Linux\ Mint

You can edit the scrollbar slider yourself easily. Open Inkscape and open the slider-v.svg (or slider-h.svg) file. Click the color you want to use from the horizontal color chart at the bottom. I used 80% Gray. Click the bucket tool on the left (see #1 in the picture below). Click on the slider image to change it’s color. This may need to be done in more than one spot and on the slider outline. There will be some thin lines that are not affected. Click the brush strokes tool on the left (see #2). Use this to go over the thin lines. If you make a mistake, then click Edit > Undo. Save the file.

scrollbar-slider.png

User avatar
smurphos
Level 12
Level 12
Posts: 4041
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Scrollbar Sliders Almost Invisable

Post by smurphos » Sat Aug 10, 2019 1:31 am

roblm wrote:
Fri Aug 09, 2019 3:52 pm
For example, for the Mint-X theme: sudo cp -R /usr/share/themes/Mint-X ~/.themes/Mint-X
You can just cp -R /usr/share/themes/Mint-X ~/.themes/Mint-X

No need for sudo and thus no need for an ownership fix on a copied file. The important thing for cp is the destination directory writable for the invoking user. If not then use sudo.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

Post Reply

Return to “Cinnamon”