site  contact  subhomenews

Restore arrows to gtk3 scrollbars

December 31, 2020 — BarryK

A couple of months ago, I posted about a fix for extremely annoying default behaviour of gtk3 scrollbars:

https://bkhome.org/news/202010/oe-gcc-target-default-commandline-options.html

That fix is in Easy, however, today I received an email from Alfons, asking about the missing arrows at  the ends of the scrollbars. SeaMonkey, Inkscape and LibreOffice use gtk3 and exhibit this lack-of-arrows.

I did a quick online search and found a fix here:

https://unix.stackexchange.com/questions/226879/whats-the-best-way-to-restore-the-arrows-to-my-scroll-bars

I have created /root/.config/gtk-3.0/gtk.css:

scrollbar {
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
}

This is a global setting, will apply to all themes.

I have put this into Easy, so it will be in the next release. 

Tags: easy