Read the statement by Michael Teeuw here.
new script for screensaver disable
-
@sdetweil said in new script for screensaver disable:
i hope you can try the test script again… see if I corrected the problem…
I’m just reporting that your script works for me. Ubuntu 18.04.3 and MM 2.8.0.
I’d also like to thank you again for all the help you’ve given me and all the scripts you’ve made available to everyone, not to mention all the tech support you give to everyone.
Voter for Sam! :-)
-
@Mykle1 thanks. But not looking for a pat on the back.
I cannot create modules like you do. I love what you produce, I just don’t have that eye.
But I love the technical support challenge. Learning all these modules. Looking at the code, thinking of fixes.
-
@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