Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 724 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 724 Bytes

AutoRotateScreen

A Python script to give auto-rotation capabilities to 2-in-1 laptops in Linux

Click on gif to see full video

This script uses iio-sensor-proxy to read the screen's pitch and roll angles and sets the desired orientation using xrandr. Please install these programs if they aren't already included to make this work.

To make the script permanent, make it executable with chmod +x AutoRotateScreen.py and add it to the Startup Applications list so it starts working at login.