• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 3.8k 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.
  • S Away
    sdetweil @mieserwicht
    last edited by Aug 28, 2019, 11:38 AM

    @mieserwicht can u try again

    i fixed the search filter to exclude the script itself

    thanks

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Sep 9, 2019, 9:08 AM Reply Quote 0
    • S Away
      sdetweil @mieserwicht
      last edited by Sep 1, 2019, 1:40 PM

      @mieserwicht i hope you can try the test script again… see if I corrected the problem…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Sep 1, 2019, 11:49 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @sdetweil
        last edited by Sep 1, 2019, 11:49 PM

        @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! :-)

        Create a working config
        How to add modules

        S 1 Reply Last reply Sep 2, 2019, 12:07 AM Reply Quote 0
        • S Away
          sdetweil @Mykle1
          last edited by Sep 2, 2019, 12:07 AM

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Sep 2, 2019, 1:19 AM Reply Quote 1
          • M Offline
            Mykle1 Project Sponsor Module Developer @sdetweil
            last edited by Mykle1 Sep 2, 2019, 2:21 AM Sep 2, 2019, 1:19 AM

            @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 Sep 9, 2019, 9:36 AM Sep 9, 2019, 9:08 AM

              @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 Sep 9, 2019, 11:14 AM Reply Quote 0
              • S Away
                sdetweil @mieserwicht
                last edited by sdetweil Sep 9, 2019, 11:30 AM Sep 9, 2019, 11:14 AM

                @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 Sep 9, 2019, 12:35 PM Reply Quote 0
                • M Offline
                  mieserwicht @sdetweil
                  last edited by mieserwicht Sep 9, 2019, 12:37 PM Sep 9, 2019, 12:35 PM

                  @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 Sep 9, 2019, 12:38 PM Reply Quote 0
                  • S Away
                    sdetweil @mieserwicht
                    last edited by Sep 9, 2019, 12:38 PM

                    @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
                    • 1 / 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