mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-24 01:16:05 +01:00
32 lines
884 B
Markdown
32 lines
884 B
Markdown
# Screen rotation scripts
|
|
|
|
* https://kevinbecker.org/blog/2019/11/21/dell-venue-10-pro-5055-screen-rotation-in-gnome
|
|
|
|
## usage
|
|
|
|
In xfce4 one can create shortcuts on their desktop to rotate the screen,
|
|
e.g., left or automatically depending on the device orientation:
|
|
|
|
```shell
|
|
ln -s /usr/share/examples/de-p1st-rotate/rotate-left ~/Desktop/rotate-left
|
|
ln -s /usr/share/examples/de-p1st-rotate/rotate ~/Desktop/rotate
|
|
```
|
|
|
|
## inotifywait
|
|
|
|
**TODO**: Use `ionotifywait` to periodically call the rotation script.
|
|
|
|
See: https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu
|
|
|
|
## Surface Go 2
|
|
|
|
```shell
|
|
monitor-sensor --accell
|
|
```
|
|
|
|
just returns `orientation: undefined`.
|
|
|
|
After I switched to `iio-sensor-proxy-git` it was **working** until I rebooted.
|
|
Since then it does not work as well ...
|
|
|
|
**TODO**: Open an issue here: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy |