GTK3 scrollbar arrows
Posted: 2021-01-07 | Author: slackalaxy | Filed under: desktop | Tags: arrow, gtk3, scroll bar |5 CommentsI am not particularly happy with the lack of scrollbar arrows in application windows. Unfortunatelly, this is the default behaviour of GTK3 programs. I already dealt with GTK3 programs automatically hiding the scrollbars, so I decided to get the arrows back, as well.
I searched a bit and found this solution in the Linux Mint forums. So, following the instructions, I created ~/.config/gtk-3.0/gtk.css and added the following contents:
/* Scrollbar width fixes */
scrollbar.vertical slider,
scrollbar.slider.vertical
{
min-width: 1em;
}
scrollbar.horizontal slider,
scrollbar.slider.horizontal
{
min-height: 1em;
}
/* Steppers */
* {
-GtkScrollbar-has-backward-stepper: 1;
-GtkScrollbar-has-forward-stepper: 1;
}
scrollbar button {
min-width: 1em;
min-height: 1em;
}
scrollbar.vertical button.down {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}
scrollbar.vertical button.up {
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}
scrollbar.horizontal button.down {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
}
scrollbar.horizontal button.up {
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
}
undershoot.top, undershoot.right, undershoot.bottom, undershoot.left { background-image: none; }
Great! Thank you smurphos!

This is awesome. Thank you. I really don’t like this popular move to scrollbars with no arrows.
Happy to be of help. In my opinion, hiding scrollbars or no arrows represent a usability issue.
This is awesome. Thank you.
But I change how to set StepIncrement
Just look for it to apply for the project I’m participating. Thank you!