基本界面达成

This commit is contained in:
2026-05-11 00:21:16 +08:00
parent 649677f564
commit 65f221a5d8
13 changed files with 1818 additions and 347 deletions

24
printer-screen.service Normal file
View File

@@ -0,0 +1,24 @@
[Unit]
Description=Printer Screen Touch UI
After=systemd-udev-settle.service local-fs.target
Conflicts=getty@tty1.service
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/Printer_Screen_Menu
Environment=QT_QPA_PLATFORM=eglfs
Environment=QT_QPA_EGLFS_INTEGRATION=eglfs_kms
ExecStart=/opt/Printer_Screen_Menu/run.sh
Restart=always
RestartSec=1
StandardInput=tty
TTYPath=/dev/tty1
[Install]
WantedBy=multi-user.target