This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo chvt 3 | |
| # 1. Point to the physical terminal (so Qt knows where to paint) | |
| export QT_QPA_EGLFS_TTY=/dev/tty2 | |
| # 2. Point to the standard user runtime directory (Vital for Audio/Wayland) | |
| export XDG_RUNTIME_DIR=/run/user/$(id -u) |