Hi Folks,
On bullseye the file explorer scrollbars fade in and out as required. Mostly this is cool, but for some users it would help to keep them visible all the time. Anyone know how to do this please?
Re: Scrollbars permanently visible
The auto-hiding nature of gtk-3's scrollbars aren't affected by changes to a theme's CSS, it's
Edit:
Looking at the source code for scrolledWindow the auto-hiding overlay method seems to only be a default when there is no mouse (e.g. touchscreen only), a program can always request the use of overlays which I assume the file manager (pcmanfm) is doing.
You can tell gtk-3 to not use overlay scrollbars via setting an environment variable (set it in your .profile so every program gets the setting, including the file manager). This should revert gtk-3 to having the scrollbars that don't auto-hide when you stop moving the pointer.
Add this line to the end of the file ~/.profile with your text editor of choice and reboot.
Code: Select all
export GTK_OVERLAY_SCROLLING=0
I've found the gtk-3 setting to disable the overlay scrollbars without having to use the environment variable above (though that is the ultimate way to disable it as it overrides any other setting). It can be put in the theme's gtk-3.0/setting.ini file, though you're better off creating your own personal settings file which will override the theme's incase the theme gets updated. The PiX (and PiXflat) have identical settings.ini files at the time of writing consisting of just one setting so to copy it and add the new line do :-
Code: Select all
mkdir -p ${XDG_CONFIG_HOME}/gtk-3.0
cp /usr/share/themes/PiX/gtk-3.0/settings.ini ${XDG_CONFIG_HOME}/gtk-3.0/
echo "gtk-overlay-scrolling = false" >> ${XDG_CONFIG_HOME}/gtk-3.0/settings.ini
She who travels light — forgot something.
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Re: Scrollbars permanently visible
how would it help ?
if your talking touch the whole area is scroll-able, just like your phone or android. if your using a mouse, you can scroll, if keyboard there are arrow keys or page keys.
touch is better supported elsewhere.
your better off going with the android based os, raspberry os has very little accessibility features, as that is not there main target.
if you want a touch based linux, have a look at ubuntu, it offers the best touch support out of the box. although not the fastest. but easy setup.
- Attachments
-
- Screenshot from 2023-03-15 08-06-50.png (70.97 KiB) Viewed 253 times
Re: Scrollbars permanently visible
Gtk3 makes use of overlay scrollbars, these auto hide themselves when the pointer isn't in the window or has been still for a period of time. Even when the pointer is in the window and moving, if the pointer isn't over the scrollbar then the scrollbar is almost hidden (just a few pixels wide).
Some of us rely on the scrollbar being (easily) visible at all times so you can easily see whereabouts the visible area is in relation to the entire scrollable area. As well as not liking the scrollbar keeping popping in and out.
She who travels light — forgot something.
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Please note that my name doesn't start with the @ character so can people please stop writing it as if it does!
Re: Scrollbars permanently visible

i know what it is and what it does.
i happen to disable it on my ubuntu for my touch screen. on there it's as simple as.
Code: Select all
gsettings set org.gnome.desktop.interface overlay-scrolling false
scrolling in general is just slower.

my bag, in pcmanfm(file manager) it doesn't do the list, it jumps to the match.
