Udemy REST Assured free

Screen rotation issue in Ubuntu 18.04 LTS on system restart

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.

A User Reported

Whenever I restart my system. My screen rotate automatically. I recently installed Ubuntu 18.04.

However I observed for another laptop for which I have installed same Ubuntu version, this is not happening. This issue can be temporary resolved by typing below command.

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