So I've recently bought a new HP ProBook 440 G5 and installed elementaryOS (version missing). It's a dual-boot alongside with Windows 10 (that's likely irrelevant but mentioning just in case).
Anyway, when my laptop is connected to a monitor (via HDMI/VGA) everything is fine. Both screens display everything well. Then I've noticed that when I disconnect the laptop from the monitor, the screen content flips around (upside down, sideways) when I move the lid around. I've googled this problem and found that there is a command
xrandr -o normal
which I'm supposed to add as a startup task. And this works, kinda. The screen doesn't flip anymore while I'm logged in. But as soon as I log out, the login screen goes haywire again.
It's not really that bad, the only problem is when the password field is not in focus so I have to use my touchpad to click it, while my screen is flipped.
Any way to solve this permanently?
Thanks.
xrandr -o normal
)