Console
# vi /boot/firmware/cmdline.txt
DSI-1 Anschluss
console=serial0,115200 console=tty1 root=PARTUUID=f822434b-02 rootfstype=ext4 fsck.repair=yes rootwait video=DSI-1:720×1280@60,rotate=270 cfg80211.ieee80211_regdom=DE video=DSI-1:720×1280@60,rotate=270
DSI-2 Anschluss
console=serial0,115200 console=tty1 root=PARTUUID=f822434b-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=DE video=DSI-2:720×1280@60,rotate=270
X-Session
# vi /etc/xdg/openbox/autostart
xrandr –output DSI-1 –rotate right

Touchscreen
# vi /usr/share/X11/xorg.conf.d/40-libinput.conf
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1"
EndSection