Ubuntu Screen Rotation Problem

Profile picture for user devraj

With a GNOME 3.18 (or newer) based system, orientation changes will automatically be applied when rotating the panel, ambient light will be used to change the screen brightness, and Geoclue will be able to read the compass data to show the direction in Maps.

Problem: Ubuntu rotate screen 180 degrees on Startup (18.04 LTS)

Type below command to switch to normal screen

$ xrandr -o normal

Try this command to stop and disable

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

Try this command to remove

$ sudo apt-get remove iio-sensor-proxy