On a default Ubuntu 16.04 (xenial) installation, GTK3 applications (which include most of the default GUI applications) have smooth scrolling activated. How do I disable it?
For example, in Gedit, pressing PageUp/PageDown causes the text to scroll one pixel line at a time until it settles to its final position one page further up/down. The same behavior occurs in the file selection dialog box, in Nautilus, etc. How do I turn off smooth scrolling, i.e. how do I make the PageUp/PageDown keys show the previous/next page immediately?
gtk-primary-button-warps-slider=false
to~/.config/gtk-3.0/settings.ini
and see if the problem goes away? If you don't have such a file, the first line should be[Settings]
.gtk-primary-button-warps-slider
isn't directly related to scrolling. It is related to the behavior of scrollbars, which is unrelated to this question.