User Tools

Site Tools


Table of Contents

Uzbl's 'scrollbars_visible' variable was removed in the 2011.07.25 release. Instead, GTK's theming capabilities can be used to hide or restyle them.

Different versions of GTK use different theming methods. To find out what version of GTK your copy of uzbl uses:

ldd `which uzbl-core` | grep gtk


To hide scrollbars entirely, in ~/.gtkrc-2.0:

style "uzbl" { 
  GtkRange::slider-width = 0
widget "Uzbl*" style "uzbl"


To hide them entirely, in $XDG_CONFIG_HOME/gtk-3.0/gtk.css:

#Uzbl GtkScrollbar {
  -GtkRange-slider-width: 0;
  -GtkRange-trough-border: 0;

An alternative to totally hiding them is to make them really tiny:

#Uzbl GtkScrollbar {
  background-color: black;
  -GtkRange-slider-width: 2;
  -GtkScrollbar-has-backward-stepper: false;
  -GtkScrollbar-has-forward-stepper: false;

Website Scrollbars

Scrollbars in frames or created using the CSS text-overflow property aren't affected by GTK styles. They can be styled by your user stylesheet ($XDG_CONFIG_HOME/uzbl/style.css), as described by . For example:

::-webkit-scrollbar {
  width:  4px;
  height: 4px;
  background: black;

::-webkit-scrollbar-thumb {
  background: #999;

[[|professional resumes]]
hide-scrollbars.txt · Last modified: 2016/08/31 14:10 (external edit)