Touchpad is not scrolling on Ubuntu 18.04
1. Touchpad config via xinput
Check your xinput properties.
First you have to identify your touchpad, therefore type
xinput
which will output your devices. Search for something like touchpad,... and its identification number.
Now you can list the properties of your touchpad via following command (with the following hardware, the touchpad's id is 13):
xinput --list --long 13
xinput test 13 # now you can click, move, scroll and the terminal will output the input events from your touchpad
xinput list-props 13
Search for an entry something like Vertical Scroll. You can set these properties via the --set commands. Look in the man page (man xinput
) for a detailed description. So for instance if the increment is not set, you are not able to scroll.
2. Look in your Settings Gui
It is also possible that you have not set the touchpad correct in your config, therefore open the Settings program. Click on the left side on Devices and then on Mouse & Touchpad. For instance you should disable Two-finger Scrolling to get your wanted right scrolling. Also you have to enable Edge Scrolling!
I had vertical scrolling on ubuntu LTS 16.04 but lost this when I upgraded to Ubuntu 18.04, the solution is:
Mouse & Touchpad > Disable: Two finger scroll
Vertical scrolling should return.
I did the xinput method. I found out that my device is 14 and the property was 327 (edge scrolling).
By giving the command 'xinput set-prop 14 327 5 5 5' the edge scrolling works. I gambled on the '5'.