06-20-2023, 10:21 AM
The command given previously, `sudo pacman -S iio-sensor-proxy` worked for me too. I did have to go into settings, display configuration and uncheck "only in tablet mode". If I kept that option checked, the screen was stuck in vertical mode but now it follows its orientation. Nice!