LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2018, 10:45 PM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Rep: Reputation: 34
Missing Scroll Bars


Hello, anyone have any idea where the vertical and Horzt scroll bars went in upgrades to most of the distros ? Example: terminal in CentOS no issue with scroll bars, left and bottom and no issues in MS Windows...just linux after updates applied. thanks
 
Old 11-10-2018, 11:16 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,717

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
All appears well in CentOS 7.5 with Cinnamon DE.

Where are you seeing a problem? You say "Linux" - but that's very vague. Which distribution and which desktop?
 
Old 11-11-2018, 02:23 AM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,795
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
It's become common in various applications and DEs to "simplify" their UI, likening it to handheld devices' typical dearth of screen space. Disappearing scrollbars seems to be a common misfeature, which NAICT has its roots in GTK3 but has spread wildly. Luckily for some of us we stick with what works, meaning avoiding the latest bloatware and the bling that goes with it. Pick another DE and you might see scrollbars return automatically. In others, you can get them back through desktop settings. Without your mentioning anything more than CentOS terminal, it's hard to say much more about scrollbars.
 
Old 11-11-2018, 05:47 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
As a general rule for gtk3, you can re-add scrollbars by editing your theme's CSS file and adding:

Code:
scrollbar {
   -GtkScrollbar-has-backward-stepper: 1 !important;
   -GtkScrollbar-has-forward-stepper: 1 !important;
}
If you don't want to edit the theme file in /usr/share/themes, you can create an overriding theme file in your home directory. For example, for the Mint-X theme in Mint 19:

Code:
mkdir -p ~/.themes/Mint-X/gtk-3.0

xed ~/.themes/Mint-X/gtk-3.0/gtk.css
and then populate that file with:

Code:
@import url("/usr/share/themes/Mint-X/gtk-3.0/gtk.css");
scrollbar {
   -GtkScrollbar-has-backward-stepper: 1 !important;
   -GtkScrollbar-has-forward-stepper: 1 !important;
}
 
Old 11-11-2018, 06:08 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ shouldn't this be possible also via ~/.config/gtk-3.0/gtk.css?
 
Old 11-11-2018, 06:22 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by ondoho View Post
^ shouldn't this be possible also via ~/.config/gtk-3.0/gtk.css?
Ah, so intended to affect all gtk3 applications, not only those using a certain theme? It could well do.

Hopefully someone, perhaps the OP, will test it and report back. Certainly, I tried quite a few things before landing on my solution above, so I can't remember why I decided that the mod had to be applied on a theme-by-theme basis. I would love to be proved wrong.
 
Old 11-11-2018, 09:11 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,795
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
~/.config/gtk-3.0/gtk.css WFM. What I don't understand is why I've never been able to find a global solution e.g. (/etc/gtk-3.0/gtk.css) that works for all system users. /etc/skel/.config/gtk-3.0/gtk.css should work for new users, but wouldn't be expected to help existing.

Needing to edit config files is not user-friendly, but then I've never found GTK intended to be user friendly, instead a scourge needed mainly due to indispensable Mozilla products' lack of QT support.
 
Old 11-11-2018, 09:16 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by mrmazda View Post
~/.config/gtk-3.0/gtk.css WFM. What I don't understand is why I've never been able to find a global solution e.g. (/etc/gtk-3.0/gtk.css) that works for all system users. /etc/skel/.config/gtk-3.0/gtk.css should work for new users, but wouldn't be expected to help existing.

Needing to edit config files is not user-friendly, but then I've never found GTK intended to be user friendly, instead a scourge needed mainly due to indispensable Mozilla products' lack of QT support.
For any non-native English speakers, just a wee note that WFM means "works for me".
 
Old 11-11-2018, 01:09 PM   #9
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,717

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Quote:
Originally Posted by mrmazda View Post
~/.config/gtk-3.0/gtk.css WFM. What I don't understand is why I've never been able to find a global solution e.g. (/etc/gtk-3.0/gtk.css) that works for all system users.
/usr/share/themes/Mint-X/gtk-3.0/gtk.css doesn't do that?
 
Old 11-11-2018, 02:26 PM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,795
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by scasey View Post
/usr/share/themes/Mint-X/gtk-3.0/gtk.css doesn't do that?
Two problems with that:
1-not global: only a single theme is affected
2-system admin's global custom configs belong in /etc/; /usr/ changes are subject to usurpation by package management system updates
 
1 members found this post helpful.
Old 11-15-2018, 01:08 AM   #11
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
Thanks all for responding. I've tried several destro's and all have the same issue...no bottom, side scroll bars. A real pain dragging bars without arrows around.

Also wondering who pulled the plug on this feature...seems outrageous to remove something so simple and useful.

We are looking to dump M/S Windows but after showing the the new Firefox browser to users, Linux is now off the table for the time being or until this issue is fixed...so sad.

Last edited by swamprat; 11-15-2018 at 01:09 AM.
 
Old 11-15-2018, 05:42 AM   #12
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by swamprat View Post
Thanks all for responding. I've tried several destro's and all have the same issue...no bottom, side scroll bars. A real pain dragging bars without arrows around.

Also wondering who pulled the plug on this feature...seems outrageous to remove something so simple and useful.

We are looking to dump M/S Windows but after showing the the new Firefox browser to users, Linux is now off the table for the time being or until this issue is fixed...so sad.
So have you tried editing the CSS as suggested above?
 
Old 11-16-2018, 11:56 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by swamprat View Post
Also wondering who pulled the plug on this feature...seems outrageous to remove something so simple and useful.
you're not the only one.
https://igurublog.wordpress.com/2012...ing-in-threes/
 
Old 11-16-2018, 08:50 PM   #14
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, USA
Distribution: VMware V12 and V15 in Windows 10, MX Linux 23.1, Kubuntu 23.10, IBM z/VM 5.4
Posts: 558

Original Poster
Rep: Reputation: 34
Thanks all. I think someone asked me if I have tried any of these suggestions yet and the answer is no.

The changes suggested appear to be above my expertise in messing around with the system.

It would appear the the people who created this issue didn't give what they did much thought, wish they had, the result of this change is a real pain in the "A".

Perhaps those people will revisit this issue in the future.
 
Old 11-17-2018, 12:38 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
you haven't specified in which applications you are missing scroll bars.

my guess is you are talking about gtk3, and maybe web pages.

you could try different themes. <= this

for some applications, different toolkit alternatives exist, usually Qt.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Skinny scroll bars hognoodle Linux - Newbie 5 04-24-2015 02:16 AM
Tightvnc scroll bars wacky Rotwang Linux - Software 4 02-21-2011 03:41 AM
Where'd my scroll bars go? Louis_Carole Linux - Newbie 2 01-08-2005 07:51 PM
Where'd my scroll bars go? Louis_Carole Linux - Newbie 3 11-21-2004 12:19 PM
Konqueror scroll bars busbarn Linux - Software 1 03-25-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration