• 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 4.5k 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 Offline
    sdetweil @Mykle1
    last edited by Aug 27, 2019, 10:51 PM

    @Mykle1 i think the gsettings command will allow scripted configuration… I sent u a command to test…

    my 18.04 does not have gsd-screensaver running

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • M Offline
      mieserwicht
      last edited by mieserwicht Aug 28, 2019, 7:31 AM Aug 28, 2019, 7:30 AM

      Hello,
      I ran this script a a fresh install of “Raspbian Buster with desktop, July 2019” on a Raspberry Pi 3 B. I got this output:

      pi@magicmirror:~ $ bash -c "$(curl -sL  https://www.dropbox.com/s/ah7wtk30101xx4t/test_screensaver.sh?dl=0)"
      some other screensaver bash
      please configure it manually
      

      I guess the latest Raspian shall be support. Fell free to ask me for some additional information or traces from my setup.
      Regards Dirk

      Edit:
      Currently trying out this manual method: https://www.raspberrypi.org/forums/viewtopic.php?t=249837&p=1525721

      S 2 Replies Last reply Aug 28, 2019, 11:38 AM Reply Quote 0
      • S Offline
        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 Offline
          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 Offline
              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 Offline
                    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
                      • 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