Merge pull request #733 from frennkie/remove-screensaver

Remove screensaver
This commit is contained in:
Christian Rotzoll 2019-08-27 17:19:26 +02:00 committed by GitHub
commit 6c803d30f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,8 +39,10 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
# write new LXDE autostart config
sudo mv /etc/xdg/lxsession/LXDE-pi/autostart /etc/xdg/lxsession/LXDE-pi/autostart.bak
cat << EOF | sudo tee /etc/xdg/lxsession/LXDE-pi/autostart >/dev/null
@xscreensaver -no-splash
@unclutter -idle 0
@xset s noblank
@xset s off
@xset -dpms
@sh /home/pi/autostart.sh
EOF