Skip to content

alvaroferran/AutoRotateScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages