Gnome does not respect iio-sensor-proxy

I’m using mobile-nixos on a lenovo 10e (kodama) and am trying to get both screen rotation and pen input working properly. The github fork is at GitHub - pcs3rd/mobile-nixos.

In my device’s default.nix, ACCEL_MOUNT_MATRIX is currently set to “0, 1, 0; -1, 0, 0; 0, 0, -1”. Monitor-sensor and dbus does show the correct orientation, but Gnome seems to want to rotate to “Right-Up” while device rotation registers as “Normal”. Is there something I’m missing with my config or is this possibly a gnome issue?

1 Like