3

My installation of Cinnamon 2 on Ubuntu 13.10 has no up or down scrollbar buttons.

I've tried many suggestions such as this one, but none work.

How can up and down scrollbar buttons be added to the default theme?

(I can change themes but like the default theme and would like to know how to add scrollbar buttons to any theme)

1 Answers1

2

Make /usr/share/themes/Adwaita/gtk-3.0/gtk.css look like this (If the top line IS NOT THE SAME, just add the bit after .scrollbar):

@import url("resource:///org/gnome/adwaita/gtk-main.css");

.scrollbar {
-GtkScrollbar-has-backward-stepper: 1;
-GtkScrollbar-has-forward-stepper: 1;
-GtkRange-slider-width: 15;
-GtkRange-stepper-size: 20;
}

This worked for me - Thanks! :-)

You might need to do it to /usr/share/themes/Adwaita/gtk-3.0/gtk-dark.css as well (Again, If the top line IS NOT THE SAME, just add the bit after .scrollbar):

@import url("resource:///org/gnome/adwaita/gtk-main-dark.css");

.scrollbar {
-GtkScrollbar-has-backward-stepper: 1;
-GtkScrollbar-has-forward-stepper: 1;
-GtkRange-slider-width: 15;
-GtkRange-stepper-size: 20;
}

You need to change the gtk2.0 anyway, as that is used in Firefox etc -

so change this in/usr/share/themes/Adwaita/gtk-2.0/gtkrc:

GtkScrollbar::has-backward-stepper      = 0 
GtkScrollbar::has-forward-stepper       = 0

to:

GtkScrollbar::has-backward-stepper      = 1  
GtkScrollbar::has-forward-stepper       = 1

In Gnome, you can restart with Alt+F2 and then r - but logging out and logging in again sometimes works.

Wilf
  • 30,194
  • 17
  • 108
  • 164