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.