Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-02-01 14:05:16

vinox
Member
Registered: 2020-01-27
Posts: 32

[SOLVED] Scrollbar behaviour in Gtk/Xfce

Is it possible to make Gtk/Xfce's scrollbar behaviour similar to the one in Windows?

What I mean is this:

1. You're at the top of a long directory in Thunar or a website in Firefox.
2. You move the mouse pointer nearby the forward stepper at the bottom and click the left mouse button.

In Windows the slider bar moves down in small increments towards the mouse pointer with every click.
In Xfce the slider bar goes instantly down to the position where the mouse pointer is.

Last edited by vinox (2020-02-01 16:57:38)

Offline

#2 2020-02-01 14:57:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] Scrollbar behaviour in Gtk/Xfce

Assuming  GTK3 Xfce/firefox/etc...

See https://blog.gtk.org/2017/10/11/a-scrolling-primer/.

tl;dr
Add the following to ~/.config/gtk-3.0/settings.ini to revert to the behaviour you are looking for:

gtk-primary-button-warps-slider = false

Note: if you are creating this file new, it needs to to "[Settings]" as the first line:

[Settings]
gtk-primary-button-warps-slider = false

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2020-02-01 16:56:43

vinox
Member
Registered: 2020-01-27
Posts: 32

Re: [SOLVED] Scrollbar behaviour in Gtk/Xfce

Thank you so much! That's exactly what I was looking for.

Offline

Board footer

Powered by FluxBB