0

I have a Lenovo Yoga 3 Pro laptop that has the capability (in Windows, at least) of detecting the device orientation and ajusting the screen orientation accordingly. I hear recent versions of GNOME allow this. How do I enable it? People tell me I'll see an orientation lock button if GNOME detects that my laptop is capable of automatic screen rotation, but it's not there, even though my laptop is definitely capable.

I'm using Arch Linux, by the way, although I don't think it should really matter very much.

1

Try using iio-sensor-proxy. It has been tested on Yoga 2, and various other Yoga models according to the README.

https://github.com/hadess/iio-sensor-proxy

Install it, and start it with systemctl start iio-sensor-proxy. For me, I only had to start it a few times in the beginning and then it became static and no longer required starting (not sure how, but it did).

-1

If I'm not wrong, systemctl enable iio-sensor-proxy instead of systemctl start iio-sensor-proxy makes it start on boot.

  • iio-sensor-proxy doesn't have the daemon scripts necessary to enable it. It becomes static after a while on its own somehow (I haven't bothered to track down how that happens yet; just glad it does). – dogoncouch Dec 5 '17 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.