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!