Install thinkpad-scripts from ppa:martin-ueding/stable
File to modify: /lib/udev/hwdb.d/60-keyboard.hwdb
- Change
KEYBOARD_KEY_6c=direction # rotate screen
for
KEYBOARD_KEY_6c=cyclewindows # rotate screen
-
Execute
sudo udevadm hwdb --update -
Reboot
Why? Ubuntu handle direction key (rotate button on the bezel) but not rotation of touch input. cyclewindows is not handled and free to be used and never had a problem with partial handling of rotation by ubuntu.
fix-pen-eraser need to be executed each login. Can be added to startup applications.
rotate can be executed each time rotate key on the bezel (TaskPane instead of RotateWindows) is pressed.