the rotation is being handled by iio-sensor-proxy and if such heuristic needs to be added it should probably be there. Could you also open a report upstream on gitlab to see what's their input on a such change?
** Package changed: gdm3 (Ubuntu) => iio-sensor-proxy (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1879876 Title: Screen should not rotate automatically on a laptop To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1879876/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs