remove-screensaver

This commit is contained in:
Robert Habermann 2019-08-24 17:30:39 +02:00
parent e733cf29c5
commit e10aba496c

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