[SOLVED} Scrollbar width

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
rudy
Level 2
Level 2
Posts: 84
Joined: Fri Dec 16, 2016 9:35 pm

[SOLVED} Scrollbar width

Post by rudy » Wed Jan 30, 2019 9:41 am

I'm old. I need a wider scrollbar on all my browsers. Is there are theme that has a wider scrollbar or a SIMPLE way to increase the width of all scrollbars?
Last edited by rudy on Sun Feb 03, 2019 11:32 am, edited 1 time in total.

rudy
Level 2
Level 2
Posts: 84
Joined: Fri Dec 16, 2016 9:35 pm

Re: Scrollbar width

Post by rudy » Wed Jan 30, 2019 8:47 pm

Please help - this can't be that difficult. The scrollbar is so narrow, it is very difficult to use.

User avatar
trytip
Level 10
Level 10
Posts: 3360
Joined: Tue Jul 05, 2016 1:20 pm

Re: Scrollbar width

Post by trytip » Wed Jan 30, 2019 9:30 pm

which browser are you using? probably firefox?
try this in Terminal first: xed .config/gtk-3.0/gtk.css
at the bottom new entry, leave a blank space between the last line and the new entry, paste this and save"

Code: Select all

.scrollbar.vertical slider,
scrollbar.vertical slider {
min-width: 15px;
}
logOFF/ON just to be sure and test it. if it works and you want wider change 15 to something of your liking. this only affects gtk3 applications like gedit,firefox,gnome-terminal and only for vertical scrolls. if 15 is not to your liking you can go higher or lower
Image

Raycoupe
Level 1
Level 1
Posts: 48
Joined: Thu Dec 13, 2018 10:24 am

Re: Scrollbar width

Post by Raycoupe » Sat Feb 02, 2019 10:00 am

trytip wrote:
Wed Jan 30, 2019 9:30 pm
which browser are you using? probably firefox?
try this in Terminal first: xed .config/gtk-3.0/gtk.css
at the bottom new entry, leave a blank space between the last line and the new entry, paste this and save"

Code: Select all

.scrollbar.vertical slider,
scrollbar.vertical slider {
min-width: 15px;
}
logOFF/ON just to be sure and test it. if it works and you want wider change 15 to something of your liking. this only affects gtk3 applications like gedit,firefox,gnome-terminal and only for vertical scrolls. if 15 is not to your liking you can go higher or lower
In my case, this gtk.css file did not exist. Creating the file it and pasting your input does work. :) Thanks!
Just closing Firefox and restarting it, was enough for it to take effect.
Hardware, operating systems, software and networking are are nothing else than necessary, cumbersome and easily replaceable evils to store and provide data. Triple backup your data at least, twice on-site, and another copy off-site.

Kwattro
Level 1
Level 1
Posts: 1
Joined: Sat Feb 02, 2019 8:07 pm

Re: Scrollbar width

Post by Kwattro » Sat Feb 02, 2019 8:16 pm

I wanted to say thanks to both of you. For asking this question and for the excellent reply. The narrow scroll bar has been a wart on what I think is one the best OSes out there. This has made a big difference for me. Thank you both!

rudy
Level 2
Level 2
Posts: 84
Joined: Fri Dec 16, 2016 9:35 pm

Re: Scrollbar width

Post by rudy » Sun Feb 03, 2019 10:05 am

Thanks for the response. I just recently returned to Linux, and I'm not great at terminal. I put in your first command and got this:
(xed:3032): Gdk-CRITICAL **: 09:00:44.735: gdk_window_get_window_type: assertion 'GDK_IS_WINDOW (window)' failed

that was repeated in terminal about 10 times.

User avatar
trytip
Level 10
Level 10
Posts: 3360
Joined: Tue Jul 05, 2016 1:20 pm

Re: Scrollbar width

Post by trytip » Sun Feb 03, 2019 10:24 am

Code: Select all

locate .config/gtk-3.0/gtk.css
do you get a response? or did the command do nothing.

if you didn't get a response you need to create it. open Terminal and type:

Code: Select all

touch .config/gtk-3.0/gtk.css
xed .config/gtk-3.0/gtk.css
now you should be able to paste the scrollbar dimensions
Image

rudy
Level 2
Level 2
Posts: 84
Joined: Fri Dec 16, 2016 9:35 pm

Re: Scrollbar width

Post by rudy » Sun Feb 03, 2019 10:51 am

IT WORKED!!!!!!! Thank you so much. It not only worked in Firefox but also in Home. What a huge improvement. :D

rudy
Level 2
Level 2
Posts: 84
Joined: Fri Dec 16, 2016 9:35 pm

Re: Scrollbar width

Post by rudy » Sun Feb 03, 2019 11:31 am

Interestingly but it works in Computer/Home, Thunderbird and Mozilla, but not Chromium or Opera. Love it.

GoKingsGo
Level 1
Level 1
Posts: 11
Joined: Thu Sep 21, 2017 9:41 pm

Re: [SOLVED} Scrollbar width

Post by GoKingsGo » Sun Feb 03, 2019 1:23 pm

Thanks for the topic - this is something I've wanted to do for awhile. Unfortunately I get this message from Terminal:

chris@Boss ~ $ xed .config/gtk-3.0/gtk.css

(xed:24492): Gtk-WARNING **: Theme parsing error: gtk.css:3:9: 'min-width' is not a valid property name

I am using Firefox Quantum v64.0 (64 bit)

On a related topic, can the slider bar be changed to a contrasting color different from the edge of the window so that it stands out?

Thanks!

User avatar
trytip
Level 10
Level 10
Posts: 3360
Joined: Tue Jul 05, 2016 1:20 pm

Re: [SOLVED} Scrollbar width

Post by trytip » Sun Feb 03, 2019 2:12 pm

locate .config/gtk-3.0/gtk.css do you have anything for this in Terminal? might be a theme issue which i don't work well with themes.
Image

mgarcia
Level 1
Level 1
Posts: 2
Joined: Thu Dec 06, 2018 5:16 pm

Re: Scrollbar width

Post by mgarcia » Thu Feb 21, 2019 10:58 pm

thanks that worked
trytip wrote:
Wed Jan 30, 2019 9:30 pm
which browser are you using? probably firefox?
try this in Terminal first: xed .config/gtk-3.0/gtk.css
at the bottom new entry, leave a blank space between the last line and the new entry, paste this and save"

Code: Select all

.scrollbar.vertical slider,
scrollbar.vertical slider {
min-width: 15px;
}
logOFF/ON just to be sure and test it. if it works and you want wider change 15 to something of your liking. this only affects gtk3 applications like gedit,firefox,gnome-terminal and only for vertical scrolls. if 15 is not to your liking you can go higher or lower

Offcenter
Level 2
Level 2
Posts: 61
Joined: Sat Mar 10, 2012 5:15 pm
Location: New Jersey, USA

Re: [SOLVED} Scrollbar width

Post by Offcenter » Fri Mar 08, 2019 8:19 pm

Thanks so much for this, guys.
Worked like a charm.
I too have hated that narrow scroll bar since the beginning.
George, High in the hills of Jersey

Post Reply

Return to “Newbie Questions”