LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Missing Scroll Bars (https://www.linuxquestions.org/questions/linux-newbie-8/missing-scroll-bars-4175642135/)

swamprat 11-10-2018 10:45 PM

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

scasey 11-10-2018 11:16 PM

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?

mrmazda 11-11-2018 02:23 AM

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.

hydrurga 11-11-2018 05:47 AM

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;
}


ondoho 11-11-2018 06:08 AM

^ shouldn't this be possible also via ~/.config/gtk-3.0/gtk.css?

hydrurga 11-11-2018 06:22 AM

Quote:

Originally Posted by ondoho (Post 5924999)
^ 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.

mrmazda 11-11-2018 09:11 AM

~/.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.

hydrurga 11-11-2018 09:16 AM

Quote:

Originally Posted by mrmazda (Post 5925041)
~/.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".

scasey 11-11-2018 01:09 PM

Quote:

Originally Posted by mrmazda (Post 5925041)
~/.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?

mrmazda 11-11-2018 02:26 PM

Quote:

Originally Posted by scasey (Post 5925106)
/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

swamprat 11-15-2018 01:08 AM

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.

hydrurga 11-15-2018 05:42 AM

Quote:

Originally Posted by swamprat (Post 5926226)
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?

ondoho 11-16-2018 11:56 AM

Quote:

Originally Posted by swamprat (Post 5926226)
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/

swamprat 11-16-2018 08:50 PM

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.

ondoho 11-17-2018 12:38 AM

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.


All times are GMT -5. The time now is 04:35 PM.