reTerminal screen and touchpad auto rotation

Does anybody know how to turn off the screen auto rotation feature also I would assume I would need to turn it off for the touchpad also?

I wish the screen and touchpad to remain locked in the landscape mode.


You can look in the path /boot/config.txt and there should be configuration information about screen rotation. I don’t have reTerminal at the moment, so you can try to adjust it there.

Were you able to find a solution? I tried uncommenting several lines in the config file and nothing seemed to work. I have a second display connected that is rotated left by 90 degrees. If the reTerminal rotates, it resets that display as well. I can’t set the rotation of the secondary display in the GUI either, I have to use a command: DISPLAY=:0 xrandr --output HDMI-1 --rotate left

You can disable the IMU driver in a single pass, or you can blacklist the IMU driver so that the screen is locked in one direction

modprobe -r lis331dlh_i2c 
sudo touch /etc/modprobe.d/blacklist.conf
sudo echo "blacklist  lis331dlh_i2c" >> /etc/modprobe.d/blacklist.conf

But if I blacklist the IMU driver, I won’t be able to get IMU data right?

Sure,It’s really not a good idea, But I hardly use the IMU

It will also be possible to stop the screen rotation, if a different desktop environment is used.

The auto-rotation script is present only if is used lxde as default desktop environment.

I use a different DE without the rpios scripts. I have all my sensors working (iio-sensors etc) but my DE is missing an auto-rotate script.

With a configuration like this one, you can have the IMU working correctly.