Salut,
Pour la rotation automatique, tu peux regarder sur cette page :
https://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu.
Faut installer
iio-sensor-proxy. Redémarrer peut-être.
Puis regarde ce que donne la commande :
monitor-sensor
Elle doit indiquer la position du style :
Waiting for iio-sensor-proxy to appear
+++ iio-sensor-proxy appeared
=== Has accelerometer (orientation: undefined)
=== Has ambient light sensor (value: 0.000000, unit: lux)
Accelerometer orientation changed: normal
Light changed: 49.999999 (lux)
Light changed: 79.999998 (lux)
Accelerometer orientation changed: left-up
Accelerometer orientation changed: normal
Accelerometer orientation changed: left-up
Accelerometer orientation changed: bottom-up
CRTL+C pour en sortir.
Si c'est bon, faut utiliser le script donné sur la page.
Tu peux essayer aussi :
gsettings set org.gnome.settings-daemon.plugins.orientation active true