enable scroll bar buttons [solved]
- Inicie sesión o regístrese para enviar comentarios
Hi:
I wanted to share how I enable scroll bar steppers in Trisquel's theme:
Make a copy of the original theme just in case you want to keep the original and have a backup:
sudo cp -r '/usr/share/themes/Trisquel' '/usr/share/themes/Trisquel2'
Then open the following file of your copy:
gksudo gedit '/usr/share/themes/Trisquel2/gtk-3.0/gtk-widgets.css'
And now change the following two values to true:
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
And that's it. I hope this help someone out there. Like the owner of the following post:
https://trisquel.info/en/forum/does-anyone-else-have-no-arrows-their-scroll-bars
See you all.
I forgot to mention that you can change your theme in gnome-tweak-tool to your newly created theme. You can find gnome-tweak-tool on Trisquel's main menu>System Settings>Tweak Tool>Appearance where you will be able to chose Trisquel2 for Window and GTK+.
Also, you may going to need to close and re open your gnome session for the changes to take effect. Also, the buttons may not seem to be there, but moving the mouse to where they usually are located will make them show. Cheers.
Also, if by any chance you want to change the buttons size, look for the .scrollbar section of the same file and and add "-GtkRange-stepper-size: 40;". Or if you want to also change the width of the scroll bar change the "-GtkRange-slider-width: 20;" value. Mine looks like this:
.scrollbar {
background-image: none;
border-style: solid;
-GtkRange-trough-border: 0;
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
-GtkRange-slider-width: 20;
-GtkRange-stepper-size: 40;
-GtkScrollbar-min-slider-length: 42; /* minimum size for the slider. sadly can't be in '.slider' where it belongs */
-GtkRange-stepper-spacing: 0;
-GtkRange-trough-under-steppers: 1;
}
- Inicie sesión o regístrese para enviar comentarios