Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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.

About

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

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages