I just registered on one printer that the screensaver script /usr/local/Repetier-Setup/bin/screensaver had 0 byte after an update. Is this also the case for you?
Would changing content to the intended content:
#!/bin/bash
# Implements commands
# screensaver on - Called when screensaver should activate
# screensaver off - Called when screensaver should be inactive
# screensaver config <0/1> <time> - Set time for screensaver. <0/1> enables/disable function.
export LC_ALL=C
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $DIR
CMD=$1
P1=$2
P2=$3
case $CMD in
on)
# Add code to run on screensaver activation
if [[ -e "/dev/backlight-1wire" ]]; then
echo 0 > /dev/backlight-1wire
fi
;;
off)
# Add code to run on screensaver deactivation
if [[ -e "/dev/backlight-1wire" ]]; then
echo 80 > /dev/backlight-1wire
fi
;;
config)
export DISPLAY=:0
if [[ "$P1" == "0" ]] ; then
xset s off
xset -dpms
xset dpms 0 0 0
xset s noblank
xset s reset
echo "Screensaver disabled"
else
xset s on
xset +dpms
xset dpms 0 0 $P2
xset s blank
xset s $P2
echo "Screensaver enabled"
fi
;;
esac
Make the problem disappear?
The 2 lines
xset dpms 0 0 0
xset dpms 0 0 $P2
are new compared to old version which was to solve screensaver not working for some users due to new buster behaviour.