22 Nov 2014

How to use touchpad when screen is rotated?

So you have rotated display ('xrandr --orientation') and now touchpad ('synaptics') can't be used. The problem is that the touchpad maintains its original orientation, making the netbook difficult to use.

Here is a driver to allow the touchpad to calibrate to the screen orientation direction.

Discussed on:
eee user forum
ubuntu forum
Ubuntu bug tracker
Ubuntu brainstorm

Video: on action with accelerometer (=automatic orientation detection)

Solution for Ubuntu

Install patched driver using repository

Works with Ubuntu 9.10 - Ubuntu 14.10
Add my PersonalPackageArchive, update catalogs, and install new package:
sudo add-apt-repository ppa:aapo-rantalainen/ppa-aaporantalainen
sudo apt-get update
sudo apt-get install xserver-xorg-input-synaptics
And when you next time boot X, new driver will be in use.


Commandline syntax is: (This will change axis like screen is rotated to left.)
synclient Orientation=1

I think easiest way is to make scripts that orient the screen and change axis in the same time. Then you can make shortcuts and what ever you want.
At least, with this list you can check synclient Orientation parameter meanings.

synclient Orientation=0 ; xrandr --orientation normal
synclient Orientation=1 ; xrandr --orientation left
synclient Orientation=2 ; xrandr --orientation inverted
synclient Orientation=3 ; xrandr --orientation right
Or (e.g.)
synclient Orientation=3 && xrandr -o 3


Thanks for several people for testing and patches.


All testing and comments are very useful.

This text can be used in any way (public domain).