91 votes

Two-finger scrolling not working since ubuntu 17.10+

The answer here by @hpotter40 worked for me: $ sudo modprobe -r psmouse $ sudo modprobe psmouse This was taken from comment #16 of this bug report: https://bugs.launchpad.net/ubuntu/+source/linux/+...
Majal's user avatar
  • 7,564
51 votes
Accepted

How to make Document Viewer allow me to scroll through the pages?

What you want is called "continuous" scrolling. The location of the setting might differ from version to version. In Ubuntu GNOME 16.04: In older versions and in Unity, I think it might be in the "...
muru's user avatar
  • 192k
51 votes

Inverted Horizontal scrolling ubuntu 18.04

I also encountered this issue upon upgrading to 18.04, this was my solution: Use xinput list to find the device id of your touchpad. Use xinput list-props yourdeviceid. This will produce a long ...
John LaRocque's user avatar
32 votes

Inverted Horizontal scrolling ubuntu 18.04

See this: https://help.ubuntu.com/community/SynapticsTouchpad Use the following commands to set the amount and direction of natural scrolling (plus or minus values change direction): synclient ...
Andras Horvath's user avatar
31 votes

How to enable natural scrolling in xfce4?

This is a known bug: LP:1368402 A good and simple solution (workaround) that allows to use natural scrolling in every application (including Chrome and Gnome ones), tested on Xenial 16.04, is the ...
31 votes

How to solve a scrolling misbehavior after doing Alt+Tab?

Installing and running imwheel fixes the problem for me. $ sudo apt-get install imwheel $ imwheel INFO: imwheel started (pid=80085) You have to start it at every boot (or add it at the ...
lolesque's user avatar
  • 461
29 votes
Accepted

Can I scroll to new lines using mouse wheel inside git diff?

Thanks to @edwinksl's answer I managed to find a solution to the problem. So by default git uses LESS as a pager and I believe the default arguments are FRSX. On git 1.8+ you can remove options with ...
Todor's user avatar
  • 2,318
23 votes
Accepted

How to add natural (/inverted) mouse-scrolling in i3 window manager?

Edit /usr/share/X11/xorg.conf.d/40-libinput.conf Add there Option "NaturalScrolling" "True" like this: For your mouse: # Match on all types of devices but joysticks Section "InputClass" ...
Pilot6's user avatar
  • 88.1k
20 votes

Enable natural scrolling on ubuntu 17.04 with gnome-shell

I'm running Ubuntu Gnome 17.04 on a Dell XPS 15 9530, and here's what worked for me: The solution was to leave xserver-xorg-input-libinput installed, and instead remove xserver-xorg-input-synaptics, ...
amiller27's user avatar
  • 360
12 votes
Accepted

How to set unlimited scrolling on a TTY?

First, you buy unlimited memory. Take a look at the kernel paramter fbcon=scrollback:Nk where N is the desired buffer size is kilobytes. The default is 32k, so increase it from there. To increase ...
ubfan1's user avatar
  • 16.8k
11 votes
Accepted

How to fix microsoft mouse scrolling speed on ubuntu

Open a prompt List your devices, pay attention to the id from the device you want to fix, if there are 2 of them, it's ok. $ xinput list Mine was 9 and 10 ⎡ Virtual core pointer ...
João Victor Zanatta's user avatar
11 votes
Accepted

Touchpad scroll not working properly after Suspend

After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10: Basically, restarting the touchpad with these commands ...
mkkl's user avatar
  • 457
11 votes
Accepted

Ubuntu 18.04 scrolling jumps when alternating between windows

Apparently this bug also happens, for example, on Visual Studio Code, probably there is something wrong with X11, and it is reported by some users here, here and here. It is mentioned by some users in ...
André Winston's user avatar
10 votes
Accepted

How to enable natural scrolling in xfce4?

I searched a lot and also found a bugreport about it, but the solution was easy: You have to select the Touchpad-device in the selectbox at the top of the mouse-settings. (It was a bit hard, to find,...
rubo77's user avatar
  • 31.2k
10 votes

Inverted Horizontal scrolling ubuntu 18.04

Here's a little script that does it for you export id=$(xinput list | grep -i touchpad | awk -F"=" '{ print $2 }' | awk '{ print $1 }') xinput list-props "${id}" | grep "...
Ron de Jong's user avatar
10 votes

wsl terminal has no scroll

What helped me was clicking on the opened WSL window properties, in the Layout tab, in Screen Buffer Size, setting Height 9999 (maximum allowed), with the option "Wrap text output on screen" ...
Jean Monet's user avatar
10 votes
Accepted

Precise scrolling in Firefox?

This is a bug in upstream ("upstream" means, like, "original") Firefox. According to some sources this can be worked around by putting MOZ_USE_XINPUT2=1 to /etc/environment file, and rebooting (I ...
Hi-Angel's user avatar
  • 3,572
9 votes
Accepted

How to disable horizontal scrolling in Ubuntu 18.04 in terminal?

I found the answer to my own question, and so wanted to share what worked for me in case others are stuck. Pilot6's answer to the same question asked for 16.04 works with a little modification for 18....
OpnSrcFan's user avatar
  • 429
9 votes

20.04 Natural scrolling not persisting between sessions

edit: I just found a better solution / workaround to my original answer: Add Option "NaturalScrolling" "on" to /usr/share/X11/xorg.conf.d/40-libinput.conf In context: Section "...
skiss's user avatar
  • 146
9 votes
Accepted

control scrolling speed in webpages in firefox

Open a new tab in Firefox, and enter into the address bar: about:config. There may be a warning about the sensitivity of the advanced settings within, accept the risk and proceed. There will be a ...
Levente's user avatar
  • 3,406
8 votes

Enable natural scrolling on ubuntu 17.04 with gnome-shell

had the same problem. solved: sudo apt install xserver-xorg-input-libinput sudo apt purge xserver-xorg-input-synaptics then reboot
trappo's user avatar
  • 81
8 votes

GNOME Shell: Maximize/switch apps by scrolling in taskbar

There is no need to install another dock extension, the cycle windows feature can be enabled for the Ubuntu dock from command line: gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action ...
Roberto Leinardi's user avatar
8 votes

Two-finger scrolling not working since ubuntu 17.10+

You can enable two finger scroll by clicking System Settings > Mouse & Touchpad. You will see a window like this You can (un)check the check box according to your preference.
Kristijan Iliev's user avatar
7 votes
Accepted

How to stop scrolling from switching between windows in Unity?

In Ubuntu 16.04, this is fairly straightforward to disable, even if it isn't intuitive. Simply enter the following command in a terminal: gsettings set org.compiz.unityshell:/org/compiz/profiles/...
Ullallulloo's user avatar
7 votes

Touchpad scroll not working properly after Suspend

Thinkpad Touchpad scrolling fixed (Permanently)!!! First, go to the path and edit grub using any editor (run command using sudo). Using vim editor: sudo vim /etc/default/grub or Using ...
Rishabh Bhardwaj's user avatar
7 votes
Accepted

Mouse constantly scrolling down

Unbelievable, but the problem was that my wireless keyboard and my wireless mouse's receivers were both on adjacent usb ports. when i moved my mouse's reciever to a further away port, I found that my ...
Tom Mathew's user avatar
6 votes

Is there a command to scroll?

Not exactly what you asked for, because the OP asked for "10px" scrolling, but since it also asked for "what is executed when the wheel is rolled". In Linux, when the wheel is ...
mogsie's user avatar
  • 185
6 votes

Any updates on disabling middle-click paste?

Here's the best solution I've found to keep middle click functional without it pasting things. First install sxhkd and xsel. Then configure ./.config/.sxhkd/sxhkdrc like so ~button2 echo -n | ...
Cestarian's user avatar
  • 241
6 votes

Turn off smooth scrolling in GTK3

I solved this by disabling animations in the gnome shell. Disabling animations will disable all animations. This setting can be changed in many different ways. For the change to take effect in gedit, ...
pm-b's user avatar
  • 154
6 votes
Accepted

Turn off smooth scrolling in GTK3

Edit the file ~/.config/gtk-3.0/settings.ini to contain the following lines: [Settings] gtk-enable-animations=0 If the file doesn't exist, create it. If the file already exists and already has a [...
Gilles 'SO- stop being evil''s user avatar

Only top scored, non community-wiki answers of a minimum length are eligible