Read the statement by Michael Teeuw here.
new script for screensaver disable
-
@sdetweil said in new script for screensaver disable:
not looking for a pat on the back.
Yes, this is part of the reason I wanted to express my gratitude. I see the time and effort that you put in to help others. It is commendable. :thumbsup:
Ahh, thank you for your kind words. I do appreciate that. I’ve had so much fun learning code and creating things. There are a few people here that were kind enough and patient enough to help me. You are not least among them.
Case in point.
-
@sdetweil
I tried again. The script ran without any console output.
As result the config:@xset s noblank @xset s off @xset -dpms
was now doubled (first I added by hand, second from your script) in the file /etc/xdg/lxsession/LXDE-pi/autostart
-
@mieserwicht fabulous… thanks… i did NOT check if already set…
try it again, should not double it now and should say already disabled in the log file
-
@sdetweil
Get an error message now:pi@magicmirror:~ $ bash -c "$(curl -sL https://www.dropbox.com/s/ah7wtk30101xx4t/test_screensaver.sh?dl=0)" grep: ungültiges Argument „pms“ für „--directories“ Gültige Argumente sind: - „read“ - „recurse“ - „skip“ Usage: grep [OPTION]... PATTERNS [FILE]... „grep --help“ liefert weitere Informationen.
Edit: And it still adds the configs to the autostart file, even if they already exist
-
@mieserwicht yeh, had to escape the - on -dpms… try again
adding again, yes, it got an empty result due to the error