• 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.4k 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
    last edited by Aug 27, 2019, 6:35 PM

    the install script processing for screen saver disable isn’t working anymore, and we have a lot more platforms where users need help…

    I have updated my install script to include a new approach…, supports mac too

    but I want to test it out… so I have made a standlone script with just that part of the processing…
    once tested I will include this in the submission to update the install script

    give it a try and let me know

    it will create a little logfile (screensaver.log) in the users home folder

    bash -c "$(curl -sL  https://www.dropbox.com/s/ah7wtk30101xx4t/test_screensaver.sh?dl=0)"
    

    thanks

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    M 1 Reply Last reply Aug 27, 2019, 9:07 PM Reply Quote 1
    • M Offline
      Mykle1 Project Sponsor Module Developer @sdetweil
      last edited by Mykle1 Aug 27, 2019, 9:09 PM Aug 27, 2019, 9:07 PM

      @sdetweil

      You are so freakin awesome. Here is the output from my new/current dev machine. Ubuntu 18.04.3 LTS and MM 2.8.0. As your script so accurately put it, Ubuntu DOES have a built in screensaver which can be configured/disabled manually. I thought you might want the information from this test. My thanks to you, Sam, again and again. :thumbsup:

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

      screensaver.log confirms terminal output

      Create a working config
      How to add modules

      S 1 Reply Last reply Aug 27, 2019, 10:51 PM Reply Quote 0
      • 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
                      • 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