I recently downgraded to 18.04 and I've encountered a problem I've never had with any other Linux version or distros. Every time I unlock my computer, the screen is rotated. The only way to un-rotate it is
xrandr -o normal
. I don't have any screen rotation options in the upper-right menu or Tweaks. There is an option in Settings and it's always set to landscape by default. No options to disable auto-rotate. I have a Lenovo Yoga 720.
Here is what I have tried:
- disabled location services
- I removed disabled and removed iio-sensor-proxy
- I get this back, /lib/udev/rules.d/80-iio-sensor-proxy.rules
as one of the results from apt-file list iio-sensor-proxy
but don't have a file in that directory. 80-debian-compat.rules
, 80-drivers.rules
, 80-ifupdown.rules
, 80-libinput-device-groups.rules
, 80-mm-candidate.rules
, 80-net-setup-link.rules
and 80-udisks2.rules
- gsettings set org.gnome.settings-daemon.plugins.orientation active false
doesn't do anything.
I have tried switching from laptop to tablet and back, does not make a difference.
– Leslie Lemon Jul 26 '19 at 00:52gsettings set org.gnome.settings-daemon.peripherals.touchscreen orientation-lock true
Wayland or X11 session? – nobody Jul 26 '19 at 11:11