Files
rtu_v5/flip_display.sh
2026-03-19 09:26:48 +08:00

14 lines
318 B
Bash
Executable File

#!/bin/bash
# Flip screen
# C-Fu for TCK
# Flip the display
DISPLAY=:0 xrandr --output HDMI-1 --reflect x
# Flip the touch input (using ID 7 for your specific device)
DISPLAY=:0 xinput set-prop 7 'Coordinate Transformation Matrix' -1 0 1 0 1 0 0 0 1
# Change reso
DISPLAY=:0 xrandr --output HDMI-1 --mode 1024x600