Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Sorry for my English mistakes, I'm Spanish.

I'm using Ubuntu 11.10 in a tablet. I've removed overlay-scrollbars and I have increased the scrollbars size to use them with fingers. In /usr/share/themes/Ambiance/gtk-2.0/gtkrc I've changed:

GtkScrollbar::slider-width = 23
GtkScrollbar::min-slider-length = 51

and added:

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

In /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css I've changed:

    GtkScrollbar-min-slider-length: 51;
    GtkRange-slider-width: 23; (in .scrollbar item)

Now my scrollbars are usable with fingers, but they seem different for gtk-2.0 and gtk-3.0 apps. In the picture the left scrollbar is a gtk-2.0 app and the right one is a gtk-3.0

scrollbars

I want to setup gtk2.0 bar to be exactly the same as gtk3.0, that is

  • Make upper and lower extremes empty (oranges circles in the picture)

  • Reduce the length of the 3 horizontal lines (black ellipse)

Can somebody help me? Thanks.


Hola. Uso ubuntu 11.10 en una tableta; he quitado overlay-scrollbars y he incrementado el tamaño de las barras para poder usarlas con los dedos. Concretamente en /usr/share/themes/Ambiance/gtk-2.0/gtkrc be cambiado

GtkScrollbar::slider-width = 23
GtkScrollbar::min-slider-length = 51

y añadido

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

En /usr/share/themes/Ambiance/gtk-3.0/gtk-widgets.css he cambiado

    GtkScrollbar-min-slider-length: 51;
    GtkRange-slider-width: 23; (en el apartado.scrollbar)

Mis barras son manejables con dedos, pero se ven muy distintas para aplicaciones gtk-2.0 y gtk-3.0. La barra de la izquierda de la imagen es 2.0 y la de la derecha es 3.0

scrollbars

Quiero configurar las barras 2.0 exactamente como las 3.0, para lo que necesito

  • Vaciar los extremos de la barra (círculos naranjas en la imagen)

  • Reducir la longitud de las 3 líneas horizontales (elipses negras en la imagen)

¿Alguna idea? Gracias.

share|improve this question
    
OP are you still looking for an answer? If so, you may need to repost your question as this is flagged for closure. Regards, –  Ringtail Mar 29 '12 at 0:48
    
This isn't quite an answer, but you can always wait a release or two until these inconsistencies are gone... –  Syzygy Jun 2 '12 at 22:45
    
If you are still looking for this, in order to remove the gtk2 slider assets use the contrast = 0.0 in scrollbar murrine engine and see if it helps. –  AliNa Aug 20 '13 at 11:54

1 Answer 1

up vote 1 down vote accepted

Me gusta la idea OP, y estoy interesada en la repuesta, pero por la mayoria de usos puedes utilizar 'natural scrolling' plugins y daemons. Debes buscar para 'natural scrolling' cosas en la red, o si quieres puedes probar Android-X86. Es muy divertido.

I like the idea OP, and I'm interested in the answer, but for most uses you can utilize 'natural scrolling' plugins and daemons. You should search for 'natural scrolling' stuff on the web, or if you want you can try Android-X86. It's very fun.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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