Autorotate the display & pointers on a convertible laptop
Find a file
2021-10-03 14:15:10 -04:00
auto-rotate Fixing some issue with git pull, didn't change files correctly 2020-04-28 11:12:02 +02:00
auto-rotate.service Fixed issue #9 2020-04-28 15:49:22 +02:00
install Add images on rotation 2019-01-06 18:19:12 -05:00
LICENSE Initial commit 2018-02-25 17:08:48 -05:00
README.md docs: update note about maintain 2021-10-03 14:15:10 -04:00

kde-auto-rotate

NOTE

I no longer use a convertible, so i have not updated this. It does still work for many people, so feel free to try. If someone wants to fork and maintain, I'm certainly not going to stop you :)

About

This script allows a convertible tablet to work with KDE for auto-rotation. It causes all pointers to also rotate orientation.

It disables itself if there is an external display attached.

The install script will setup the systemd and set the path

Notes

This relies on gawk being installed, and iio-sensor-proxy. You may need:

apt-get install gawk iio-sensor-proxy

Backdrop

If you wish to have the backdrop change automatically on rotation, you can create these 4 files in ~/.config/auto-rotate:

  • normal.jpg
  • bottom-up.jpg
  • right-up.jpg
  • left-up.jpg

Make each image be the exact backdrop you want, as a JPEG.