1

I've recently installed Ubuntu 19.10 on my laptop and come across the issue where whenever I close the lid of my laptop to put it to sleep, when I re-open the laptop the screen is rotated 90 degrees anti-clockwise. I have tried all three fixes in [this thread] from 18.04 LTS (Screen Rotates After Closing Laptop Lid HP, Ubuntu 18.04.02) but the only thing that works is the terminal command xrandr -o normal.

The fix given in this thread is to create a service which runs the xrandr command every time the system awakes from sleep. This is a bit of pain, so I was wondering if there was any other solution that had arisen between 18.04 and 19.10.

The laptop I am using is a Acer Spin SP513-51-311K.

2
  • Possible duplicate of Ubuntu GNOME 16.10 screen orientation spontaneously changes
    – noobninja
    Commented Nov 24, 2019 at 2:57
  • What happens when you hold down Ctrl and Alt keys while pressing each arrow key? another option would be to add xrandr -o normal to the end of your ~/.bashrc file. Then, all you have to do is open your terminal emulator, and that command runs automatically—Ctrl+Alt+T. I have xrandr commands added to my .bashrc file for a different issue.
    – noobninja
    Commented Nov 24, 2019 at 3:02

1 Answer 1

1

Ok, I've reinstalled the iio-sensor-proxy package from apt and restarted my laptop. This seems to have fixed the issue.

Uninstall: sudo apt-get remove iio-sensor-proxy

Reinstall: sudo apt-get install iio-sensor-proxy

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .