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.

I have removed the overlay scrollbars.

How can I configure GTK3 scrollbar clicking behavior?

GTK3 applications scrollbars behave strangely under Ubuntu 12.10 and 13.04. This also happens with Fedora 17 and 18.

When I left-click anywhere above or below the thumb, it jumps to that position and starts dragging from there. The expected behavior is to scroll one page up or down.

When I right-click anywhere above or below the thumb, it scrolls one page up or down. That is the behavior I expect from left-clicking, the same way it works on GTK2 and QT applications.

Horizontal scrollbars have the same problem.

This is very bad for consistency.

share|improve this question
You could try setting the scrollbar behaviour back to GTK2 with the following environment variable: LIBOVERLAY_SCROLLBAR=0. –  Glutanimate May 16 '13 at 0:54

2 Answers 2

Found the answer here:


Edit (or create) the file:


And add the following:

gtk-primary-button-warps-slider = false
share|improve this answer
Thank you, this was very helpful. I only use 2 or 3 gtk based applications, and having scrollbar behave differently in those than in all other applications was driving me nuts. –  Jan Hlavacek Jun 6 '13 at 2:04

In order to change this back, you would need to change the gtk3 code and recompile it. If you know programming, you can use apt-get source to grab the packages source and fix the feature the way you need it and make the deb and install it. don't forget to use apt-get build-dep to get the compile right.

share|improve this answer

Your Answer


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.