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?
You can use synclient VertEdgeScroll=1
to enable vertical edge scrolling,
or synclient VertTwoFingerScroll=1
for two finger scrolling.
Just copy/paste a command into a terminal window, and hit Enter.
So to have both just paste:
synclient VertEdgeScroll=1
synclient VertTwoFingerScroll=1
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