Ubuntu – Enable BOTH edge scrolling and two-finger scrolling for touchpad


On Ubuntu, I can choose between Edge scrolling, and Two-finger scrolling. But it's a radio button, so I have to choose between one and the other.

But is there any way to enable them both at the same time? Is this limitation because of the config GUI only?

enter image description here

Best Answer

To enable this permanently:

Create a file with the commands in mikewhatever answer:

echo synclient VertEdgeScroll=1 >> ~/.config/scroll-touchpad
echo synclient VertTwoFingerScroll=1 >> ~/.config/scroll-touchpad

We make it executable, and protect it from being deleted:

chmod +x ~/.config/scroll-touchpad
chmod -w ~/.config/scroll-touchpad

The we add to our gconf settings this file:

gsettings set org.gnome.settings-daemon.peripherals.input-devices hotplug-command '"'$HOME'/.config/scroll-touchpad"'

Now you can restart Gnome, log out and in, etc. and your preferences will persist.

Based on Nahuel answer