Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Quoteme/screenrotate

Open more actions menu

Repository files navigation

screenrotate

This program was originally written for the Lenovo flex 5. But if your laptop has iio-sensor-proxy installed and supports it, automatic rotation should work on any laptop. Since version 1.7 I use an ASUS ROG Flow. Therefor new features and patches will be available first on the asus_rog_flow branch.

Requirements

Please look in default.nix under buildInputs = [ ... ]; which programs are required. iio-sensor-proxy is also needed.

Usage

If your laptop supports iio-sensor-proxy, run:

./autoscreenrotation.sh

if you like to set rotation manually, run these commands:

./screenrotation.sh with the arguments normal, inverted, left, right.

The arguments cycle_left, cycle_right and swap respectively cycle the screen rotation or inverts it.

This is perfect if you can map physical buttons to these commands (like for a Thinkpad X201T)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.