I'm running Debian Jessie.

$ gnome-session --version  
gnome-session 3.14.0  

$ dpkg -s libgtk-3-0 | grep '^Version'  
Version: 3.14.5-1  

I can restore the scroll bar arrows by doing:

Applications->System Tools->Tweak Tool
In Appearance, change GTK+ to HighContrast vs. Adwaita (default)

But where do these changes get saved ?

  • Trying to get the arrows back on my scroll bars. GTK startup/config is confusing... – AAAfarmclub Sep 1 '15 at 22:01
  • I can acually use Applications->System Tools->Tweak Tool. Change GTK+ to HighContrast vs. Adwaita (default). But where does this change get saved ? I looked at file: /usr/share/themes/Adwaita/gtk-3.0/gtk.css but it only contains: /* Adwaita is the default theme of GTK+ 3, this file is not used */ – AAAfarmclub Sep 1 '15 at 22:14
  • That's better. The changes get saved in a binary file (dconf user database). I'm not sure why you ask that because, as I said, this is a theme thing (the theme draws the arrows... or not, the dconf db only stores the name of the theme, nothing else). So, you either use a theme that uses scrollbar arrows/buttons or try to modify Adwaita (there are several suggestion floating around but none of them works with newer versions of Adwaita). – don_crissti Sep 1 '15 at 23:03

Quick fix, wfm:

cat <<HERE >~/.config/gtk-3.0/gtk.css
.scrollbar {
  -GtkScrollbar-has-backward-stepper: true;
  -GtkScrollbar-has-forward-stepper: true;

I came up with that after reading this more involved solution involving editing the system theme files: https://askubuntu.com/questions/200938/question-about-gtkscrollbar-class-in-custom-themes

  • Great, this also works with other themes, e.g. DeLorean. – doshea Mar 22 '16 at 7:40
  • 2
    For GTK+ 3.20+, you need to omit the leading dot, i. e. scrollbar {/* ... */}. – Bass Jul 17 '18 at 10:56
  • 2
    @Bass alternatively, you could handle both: .scrollbar, scrollbar { – bmaupin Dec 7 '18 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.