[Solved] How to change Scrollbar width in Nemo in Mint 18

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
synapticjuice
Level 1
Level 1
Posts: 8
Joined: Sun Apr 23, 2017 1:34 pm

[Solved] How to change Scrollbar width in Nemo in Mint 18

Post by synapticjuice »

Edit KDB: Split from: viewtopic.php?f=208&p=1306910#p852981

I have a brand new install of Mint Cinnamon 18.1 I've tried everything i could think of for a few hours now with no success in changing the width of the scrollbar in Nemo. The fix given in other forms seems to work in previous versions but does not work anymore with the latest version of Mint? Anyone have an answer how to do this in Mint 18.1?

This line does not work in Mint 18.1 even if you change every gtk-widgets.css in file system.
"Fix GTK3 scrollbar slider width: /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css: default -GtkRange-slider-width: 19px"
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I'm using Asus Zephyrus GX502GW with dual boot Mint Cinnamon 20, Windows 10
User avatar
samuvuo
Level 1
Level 1
Posts: 35
Joined: Mon Apr 24, 2017 4:18 pm
Location: Finland 🇫🇮

Re: How to change Scrollbar width in Nemo in Mint 18

Post by samuvuo »

Haven't tested this myself, but it's worth a try. In "/usr/share/themes/Mint-X/gtk-3.0/apps/cinnamon-applications.css" look for (line 45):

Code: Select all

NemoWindow .sidebar .scrollbar {
    -GtkRange-slider-width: 10;
}
and change that.
Linux Mint 21.1 Mate | Dell Optiplex 990 | i5-2400 | 16GB DDR3 1333MHz | Crucial MX500 500GB | Intel i915
LMDE 5 Cinnamon | Acer ES1-131 | Celeron N3050 | 2GB DDR3 1600MHz | Hynix HBG4e 32GB EMMC | i915
synapticjuice
Level 1
Level 1
Posts: 8
Joined: Sun Apr 23, 2017 1:34 pm

[Solved] Re: How to change Scrollbar width in Nemo in Mint 18

Post by synapticjuice »

Thank you for your reply. Its not the answer... but it got me to trying again and I found out what works. The original answer from the other pages does work!!! But requires a full reboot and not just a logout or theme change. So here is the answer again for those that find this.

Change the -GtkRange-slider-width: in /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css then reboot.

Code: Select all

/*************
 * scrollbar *
 *************/

.scrollbar {
    background-clip: padding-box;
    -GtkRange-trough-border: 2;
    -GtkScrollbar-has-backward-stepper: 0;
    -GtkScrollbar-has-forward-stepper: 0;
    -GtkRange-slider-width: 30;
    
I'm using Asus Zephyrus GX502GW with dual boot Mint Cinnamon 20, Windows 10
simian
Level 2
Level 2
Posts: 57
Joined: Wed Jan 03, 2018 10:35 pm

Re: [Solved] How to change Scrollbar width in Nemo in Mint 18

Post by simian »

I'm using Linux Mint 18.2 cinnamon, and the solutions i find in this forum dont seem to work for me. I *do* reboot after making changes. The only thing i've been able to change so far is the width and color of the scrollbar in the start menu, by editing /usr/share/themes/Mint-X/cinnamon/cinnamon.css

Changing
GtkScrollbar::slider-width in /usr/share/themes/Mint-X/gtk-2.0/gtkrc
or
-GtkRange-slider-width in /usr/share/themes/Mint-X/gtk-3.0/gtk-widgets.css
has no effect in any program i've tried (nemo, firefox, libreoffice) after reboot :(

I read that changing
GtkScrollbar::has-backward-stepper
and
GtkScrollbar::has-forward-stepper
from 0 to 1 is supposed to add scrollbar arrows, but that too has no effect.

Any suggestions?

tnx
aes2011
Level 4
Level 4
Posts: 498
Joined: Wed Jul 06, 2011 10:39 pm

Re: [Solved] How to change Scrollbar width in Nemo in Mint 18

Post by aes2011 »

simian wrote:...
I read that changing
GtkScrollbar::has-backward-stepper
and
GtkScrollbar::has-forward-stepper
from 0 to 1 is supposed to add scrollbar arrows, but that too has no effect.

Any suggestions?

tnx
Try true or false instead of 1 and 0.
Locked

Return to “Cinnamon”