TS7-Pro 7-inch Touch Screen
• For Debian Bullseye system, there is only one option - Inverted, if you want to rotate to another angle, you
need to set it from command line.
2. Using the Command Line
To make this change stay after a reboot, do the following to rotate your display.
Open the autostart file.
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
Add the following line to the end.
@xrandr --output HDMI-1 --rotate right
• right represents the direction of rotation, and there are 4 directions to choose from: normal, right, left
and inverted.
After restarting the Raspberry Pi, you will see the effect of rotation.
sudo reboot
3.5.2 Rotate Touch Angle
Run the following command to open the 40-libinput.conf file.
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
Find the touchscreen section and add the corresponding rotation angle to it.
26 Chapter 3. QUICK USER GUIDE