mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-06-07 12:15:07 +01:00
add needed keys to screen services
This commit is contained in:
parent
eaa6a09550
commit
ca023db6fe
@ -41,6 +41,8 @@ Description=Turn screen ${action}
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
Environment=DISPLAY=:0
|
Environment=DISPLAY=:0
|
||||||
ExecStart=/usr/bin/xset dpms force ${action}
|
ExecStart=/usr/bin/xset dpms force ${action}
|
||||||
|
Environment=XAUTHORITY=/home/pi/.Xauthority
|
||||||
|
User=pi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user