I have elementary OS Juno installed on my laptop and it automatically rotates the screen to upside-down. then i have to go to display to fix this problem. but it doesn't stays normal. Sometimes later it goes to upside-down again which is frustrating. On gnome3 there is a rotation lock button but I cannot find rotation lock button on Juno.

I don't need the screen rotation, how can I disable it completely?

8 Answers 8


This worked for me but I needed to apply at each start up:

$ sudo systemctl stop iio-sensor-proxy.service 
$ sudo systemctl disable iio-sensor-proxy.service 

-- For persistance I needed this:

$ sudo apt-get remove iio-sensor-proxy

I have juno running in an HP EliteBook 8460p with the screen rotation problem when I tilt the keyboard. To stop this, this worked for me:

sudo systemctl stop iio-sensor-proxy.service
  • Sweet and simple..!
    – Ajay Kumar
    Commented Mar 1, 2020 at 15:29

Juno on Hp 8510w with screen rotation problem. I have tried: sudo systemctl disable iio-sensor-proxy.service, but command did not remove script /lib/systemd/system/iio-sensor-proxy.service

To disable it at startup, file was renamed:

sudo mv /lib/systemd/system/iio-sensor-proxy.service /lib/systemd/system/iio-sensor-proxy.service_disabled

there is a rotation lock in juno available under display in the system settings.


This one worked for me

xrandr -o normal
  • Worked for me on Elementary OS 5.1.7 Hera Commented Feb 24, 2022 at 5:44

Elementary doesn't have a screen orientation setting AFAIK, but you can try the following in the terminal:

gsettings set org.gnome.settings-daemon.plugins.orientation active false

I kinda like screen rotation :)


sudo apt-get remove iio-sensor-proxy solved this annoyance for me, Thank you!

  • Your participation is much appreciatedđź‘Ť Let me inform you that we love informative answers with step by step guide. Please try to post detailed information so that it is simple enough for someone with zero technical knowledge to easily understand.
    – Hasan
    Commented Mar 9, 2020 at 12:45

This worked for me:

gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true
  • hum, side effect... lock screen is upside down. There must be other way... I will keep trying.
    – papimigas
    Commented May 31, 2019 at 8:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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