You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
524 B
Markdown

Display Rotation Tool
===
A very simple C program, that just rotates the X11 screen 90 degrees
counter-clockwise.
The main use case is to hook it up on a button to rotate my T101MT in tablet
mode without having to reach the keyboard.
### Do I know, what I am doing?
No, but I can easily know if it works. Also, a tutorial
(https://tronche.com/gui/x/xlib-tutorial/2nd-program-anatomy.html) and
Xrandr(3) man page probably know :-)
4 years ago
Compilation
----
- get Xlib and libXrandr
- run `make`
Usage
----
`dirot`. That's it.