Debian Stretch / Gnome: disable sensor-based screen rotation

debiangnomesensors

I still have a constant problem of an HP Zbook screen being randomly rotated by Gnome based on some bad sensor data in the laptop. While I can rotate back with fnf4, this often causes applications to crash, etc.

I would like to disable the auto-rotation feature altogether. How can I turn off this thing?

Best Answer

The setting to use is

gsettings set org.gnome.settings-daemon.plugins.orientation active false
Related Question