GuLinux / ScreenRotator

Automatic screen rotation daemon for X11
GNU General Public License v3.0
58 stars 18 forks source link

toggle auto-rotate and manual rotate #14

Open pastleo opened 5 years ago

pastleo commented 5 years ago

this project makes auto-rotation a breeze on my Linux setup, however, sometimes I want to rotate only when I want it to, so I did some modifications and make a fork

by default this fork still does auto-rotation (to make it behave the same as original), but you can turn it off: https://youtu.be/10Fbdn8byM8

when auto-rotation is off (or maybe I should call it manual mode), rotation can be done like this: https://youtu.be/NRrZMKTKHSs

I am not very familiar with C/C++ and Qt projects, let me know if there is anything that should not be done this way

pastleo commented 5 years ago

how to test on ArchLinux: https://github.com/pastleo/ScreenRotator/tree/feature/rotate-control-aur#how-to-use-this-fork-on-archlinux

AmbientCyan commented 4 years ago

+1 on this. I'm using this branch and it works well. Seems like a good addition.

ls-1N commented 4 years ago

I think one common way of naming these things is calling the manual mode "Rotation Lock: On" and the auto-rotate mode "Rotation Lock: Off".