Nota:
As formatações nesta resposta são ideais apenas para precisão (Ubuntu 12.04); consulte a próxima resposta para obter melhores formatações para o trusty (Ubuntu 14.04).
Tornar as barras de rolagem visíveis (mudar de cor)
Com base nas informações do vasa1 fornecidas acima, mudei a cor das barras de rolagem clássicas para a cor de seleção padrão - a mesma que as barras de rolagem de sobreposição também estão usando.
Para aplicativos GTK 3, modifique:
gksu gedit /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css
a partir da linha 1580, para que se pareça com:
.scrollbar.slider,
.scrollbar.slider:hover,
.scrollbar.button,
.scrollbar.slider.vertical,
.scrollbar.button.vertical {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 1.38)),
to (shade (@selected_bg_color, 1.22)));
border-style: solid;
border-width: 1px;
-unico-border-gradient: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 1.14)),
to (shade (@selected_bg_color, 1.14)));
-unico-centroid-texture: url("assets/scrollbar_handle_vertical.png");
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 1.46)),
to (shade (@selected_bg_color, 1.3)));
-unico-inner-stroke-width: 1px;
}
.scrollbar.slider.vertical:hover {
background-image: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 1.28)),
to (shade (@selected_bg_color, 1.02)));
border-style: solid;
border-width: 1px;
-unico-border-gradient: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 0.94)),
to (shade (@selected_bg_color, 0.94)));
-unico-centroid-texture: url("assets/scrollbar_handle_vertical.png");
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, right top,
from (shade (@selected_bg_color, 1.36)),
to (shade (@selected_bg_color, 1.1)));
-unico-inner-stroke-width: 1px;
}
.scrollbar.slider.horizontal,
.scrollbar.button.horizontal {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 1.38)),
to (shade (@selected_bg_color, 1.22)));
-unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 1.14)),
to (shade (@selected_bg_color, 1.14)));
-unico-centroid-texture: url("assets/scrollbar_handle.png");
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 1.46)),
to (shade (@selected_bg_color, 1.3)));
}
.scrollbar.slider.horizontal:hover {
background-image: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 1.28)),
to (shade (@selected_bg_color, 1.02)));
-unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 0.94)),
to (shade (@selected_bg_color, 0.94)));
-unico-centroid-texture: url("assets/scrollbar_handle.png");
-unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@selected_bg_color, 1.36)),
to (shade (@selected_bg_color, 1.1)));
}
.scrollbar.button,
.scrollbar.button:insensitive {
-unico-outer-stroke-width: 0;
}
Isso deve ser o padrão.
Para aplicativos GTK 2, modifique:
gksu gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
a partir da linha 223 para que se pareça com:
style "scrollbar" = "button" {
xthickness = 2
ythickness = 2
bg[NORMAL] = shade(1.3, @selected_bg_color)
bg[PRELIGHT] = shade (1.04, @selected_bg_color)
bg[ACTIVE] = shade (0.96, @selected_bg_color)
engine "murrine"
{
border_shades = {1.15, 1.1}
roundness = 20
contrast = 1.0
trough_shades = {0.92, 0.98}
lightborder_shade = 1.3
glowstyle = 5
glow_shade = 1.02
gradient_shades = {1.2, 1.0, 1.0, 0.86}
trough_border_shades = {0.9, 0.98}
}
}
Ele não parece 100% idêntico à formatação GTK 3, portanto, fique à vontade para aprimorá-la.
Tornar as barras de rolagem clicáveis (aumentar a largura)
Para aumentar a pequena largura boba que nunca foi usada para produção, presumo, faça as seguintes alterações nos mesmos arquivos.
Para aplicativos GTK 3:
gksu gedit /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css
modifique a linha 1550 para que se pareça com:
.scrollbar {
-GtkScrollbar-has-backward-stepper: 0;
-GtkScrollbar-has-forward-stepper: 0;
-GtkRange-slider-width: 16;
border-radius: 20px;
-unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
from (shade (@bg_color, 0.74)),
to (shade (@bg_color, 0.74)));
}
Para aplicativos GTK 2, modifique:
gksu gedit /usr/share/themes/Ambiance/gtk-2.0/gtkrc
modifique a linha 34 para que se pareça com:
GtkScrollbar::slider-width = 16
Para aqueles que preferem os arquivos completos já editados, você pode baixar o meu aqui:
GTK 3: gtk-widgets.css
GTK 2: gtkrc
Seja cuidadoso. Faça backups.
Desfrutar! :)