hadess / iio-sensor-proxy

IIO accelerometer sensor to input device proxy
197 stars 64 forks source link

Question : How to use iio-sensor-proxy output ? #223

Closed deb75 closed 6 years ago

deb75 commented 6 years ago

Hello,

I am not running a desktop manager like gnome which already takes care of screen orientation for you.

iio-sensor-proxy works on my surface book 2 (debian buster). I can see the orientation changes with sensor-monitor.

However, I would like to use the iio-sensor-proxy output (like sensor-monitor displays it) to trigger a script to automatically change the screen orientation (e.g. with xrandr).

How can I do that ?

Thanks in advance for your help.

Regards

hadess commented 6 years ago

See #205 and #129.