You are not logged in.

#1 2022-01-23 04:18:53

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Disable Overlay (hidden) Scrollbars

Posting this for posterity because it's actually tricky to find the simple solution online.

In ~/.config/gtk-3.0/settings.ini, add this to the bottom of the file, save it, and logout...

gtk-overlay-scrolling=false

Whoever approved the idea of partially hiding the scrollbars by default is, well, I won't say.

---
There is also the option to set specific parameters for the scrollbar in ~/.config/gtk-3.0/gtk.css (create it if needed). This works for the theme I'm using, and is much more usable than the default narrow and hidden scrollbar...

scrollbar, scrollbar button, scrollbar slider {
    -GtkScrollbar-has-backward-stepper: true;
    -GtkScrollbar-has-forward-stepper: true;
    min-width: 8px;
    min-height: 32px;
    border-radius: 10;
}

CSMSCgCt.png

Last edited by johnraff (2022-01-24 08:10:18)


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#2 2022-01-23 04:55:09

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Disable Overlay (hidden) Scrollbars

Was also wondering about this.
https://wiki.archlinux.org/title/GTK#Di … scrollbars

Alternative method is to add this to ~/.xsessionrc or ~/.config/bunsen/environment:

# Disable overlay scrollbars
export GTK_OVERLAY_SCROLLING=0

Last edited by johnraff (2022-01-24 08:09:04)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2023-12-12 07:21:56

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,032
Website

Re: Disable Overlay (hidden) Scrollbars

^ Revisiting this due to a new OS install, and I agree. Don't edit ~/.config/gtk3 whatever, add it to .xsessionrc (create it if needed.

To make firefox behave the same, I think it's about:config, widget.non-native-theme.win11.scrollbar.force-overlay-style false and widget.non-native-theme.scrollbar.style 0

I don't know, I should have gone to sleep hours ago.


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Offline

#4 2023-12-12 08:56:26

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Disable Overlay (hidden) Scrollbars

export GTK_OVERLAY_SCROLLING=0

is already in skel/.config/bunsen/environment - it went in on Mar 11th 2022 - so BL Beryllium+ users should be covered.

Haven't tried the Firefox tweak though. When does the issue arise with Firefox?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#5 2024-01-25 05:56:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,553
Website

Re: Disable Overlay (hidden) Scrollbars

For Firefox, to disable the hiding of scrollbars and show them all the time, it's not in about:config but the regular GUI menu:
Edit>Settings>General Scroll down to Browsing and check "Always show scrollbars". cool


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB