MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    new script for screensaver disable

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    13 Posts 3 Posters 4.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @sdetweil
      last edited by Mykle1

      @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.

      0_1567390896912_crop.png

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • M Offline
        mieserwicht @sdetweil
        last edited by mieserwicht

        @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

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @mieserwicht
          last edited by sdetweil

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            mieserwicht @sdetweil
            last edited by mieserwicht

            @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

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @mieserwicht
              last edited by

              @mieserwicht yeh, had to escape the - on -dpms… try again

              adding again, yes, it got an empty result due to the error

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy