Why is my screen upside down when booting into ubuntu?

Solution 1:

found something on your problem, I'm copying a response from the problem, these are not my words and i have no wish to claim them

You can just run:

sudo apt remove iio-sensor-proxy

and reboot then. Everything would come back to normal.

or

I tried following instructions:- Click Here for instructions, but that didn't work. Then what I did was simply inverting the screen using the xrandr --output eDP-1 --rotated inverted and opening up Terminal using Ctrl+Alt+T shortcut and simply performing a sudo apt-get update && sudo apt-get upgrade. After rebooting, everything went back to normal. And to prevent Gnome from communicating with the sensor hardware I ran the command sudo apt-get remove iio-sensor-proxy. This solved everything for me.