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.

    Stop the screensaver!

    Scheduled Pinned Locked Moved General Discussion
    42 Posts 17 Posters 44.1k Views 16 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.
    • F Offline
      frog
      last edited by frog

      Hi,

      I really haven’t been able to stop the screensaver on my mirror. I’m using Jessie Lite on a PI and followed the instructions:

      [code]
      sudo nano /etc/xdg/lxsession/LXDE/autostart

      add the following lines:

      @xset s noblank
      @xset s off
      @xset -dpms

      sudo nano /etc/lightdm/lightdm.conf

      add the following lines:

      xserver-command=X -s 0 -dpms
      [\code]

      but the screensaver still kicks in!

      Can’t find any general info on the internet that is different from the above.

      1 Reply Last reply Reply Quote 0
      • KirAsh4K Offline
        KirAsh4 Moderator
        last edited by

        Jessie-light actually does not come with X11 nor any kind of desktop manager installed. The instructions given in the setup guide apply to the full version of Jessie, which comes with X11 and LightDM installed. Since the light version leaves it up to the user to install their own flavor of X11 and desktop manager, there is no way to guess what instructions we need to give so it works for you.

        Perhaps if you indicated what you installed as desktop manager, someone here might be able to help you.

        A Life? Cool! Where can I download one of those from?

        M 1 Reply Last reply Reply Quote 0
        • F Offline
          frog
          last edited by

          Thanks, but I followed the instructions for Jessie Lite and as far as I’m aware haven’t installed anything else X-related - although I did install VNC as described . How can I find out what manager is being used?

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            frog @frog
            last edited by frog

            @frog OK, according to the Jessie Lite instructions( https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

            , I installed:

            sudo apt-get install lxde-core
            sudo apt-get install lightdm

            so - it is LXDE UI and Lightdm being used. Which should mean that the alterations to /etc/xdg/lxsession/LXDE/autostart and sudo nano /etc/lightdm/lightdm.conf should have worked. But they didn’t.

            Anyhow, I fixed it the old fashioned way by uninstalling unclutter, setting the raspberry to boot requiring user login then attaching a USB keyboard/mouse to the raspberry and setting the screensaver off in preferences. Hopefully it’ll stick!

            1 Reply Last reply Reply Quote 0
            • M Offline
              markiper @KirAsh4
              last edited by

              @KirAsh4 I am reviving this topic as I have run into this same issue and have not been able to figure how to solve it. I started playing with a Magic Mirror a few days back (thanks to all the contributors), prior to that, I have read multiple posts, tutorials, blogs, etc; one of them is actually from you @KirAsh4

              https://forum.magicmirror.builders/topic/236/complete-setup-tutorial

              You mention that there are two locatons where chagnes need to be made in order to disable the screen saver:

              ’ sudo nano /etc/xdg/lxsession/LXDE-pi/autostart ’

              ’ sudo nano /etc/lightdm/lightdm.conf ’

              I am not able to find the first file, so I started reading this forum and came across this post:

              https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

              following the directions, the first file is on a different location:

              ’ sudo nano /etc/xdg/lxsession/LXDE/autostart ’

              I did find that file and made the changes as described, my autostart file looks like this:

              @lxpanel --profile LXDE
              @pcmanfm --desktop --profile LXDE
              @xscreensaver -no-splash
              @xset s noblank
              @xset s off
              @xset -dpms

              I also changed the second variable under ’ sudo nano /etc/lightdm/lightdm.conf ', I verified that I am indeed changing the actual variable and not the variable description. As far as I can tell, everything has been done as stipulated in the tutorials, but my screen saver still kicks in every 5 minutes (roughly). Is there anything that I am leaving out, thus creating the issue. I started witha fresh Jessie Lite installation following the tutorial: https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

              Any help will be greatly appreciated, I have been stumbling around reading forum entries here and at the raspberry pi foundation, but nothing seems to solve my problem (and I am no Linux guru), so any help you can provide will be greatly appreciated

              1 Reply Last reply Reply Quote 0
              • M Offline
                mjtice
                last edited by

                I had the same problem where I could’t get the screensaver (or screen blanking) to stop turning on. I stumbled across this thread, check out the answer given by JimmyN… it helped me at least.

                disable screensaver

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer
                  last edited by cowboysdude

                  Good lord just install xscreensaver and then disable the screen saver from there… easiest way without having to modify a ton of files… then being frustrated because it still doesn’t work :)

                  https://www.reddit.com/r/raspberry_pi/comments/4hwdwy/how_to_install_the_latest_xscreensaver_on_a/

                  M 1 Reply Last reply Reply Quote 2
                  • F Offline
                    frog
                    last edited by

                    There’s no need for that attitude. Please desist as this is a forum for helping people. I also had this problem so it isn’t isolated. It may not be possible to add a keyboard and mouse to the screen and use the screensaver utility.

                    cowboysdudeC 1 Reply Last reply Reply Quote 0
                    • O Offline
                      onetwankyfive
                      last edited by

                      or buy a mouse jiggler
                      https://www.amazon.com/WiebeTech-Programmable-Mouse-Jiggler-MJ-3/dp/B00MTZY7Y4/ref=sr_1_1?ie=UTF8&qid=1482934294&sr=8-1&keywords=mouse+jiggler

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        frog @onetwankyfive
                        last edited by

                        @onetwankyfive said in Stop the screensaver!:

                        or buy a mouse jiggler
                        https://www.amazon.com/WiebeTech-Programmable-Mouse-Jiggler-MJ-3/dp/B00MTZY7Y4/ref=sr_1_1?ie=UTF8&qid=1482934294&sr=8-1&keywords=mouse+jiggler

                        😀

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          markiper
                          last edited by

                          Thanks everyone for the erplies. I am still having the same issue, but doing some more testing and reading. I found this post:

                          http://www.geeks3d.com/hacklab/20160108/how-to-disable-the-blank-screen-on-raspberry-pi-raspbian/

                          In theory, just modifying the lightdm.conf should do the trick with newer versions of Raspbian Jessie Lite. I will poke around some more, hopefully i find a fix, so I can provide something back to this community.

                          1 Reply Last reply Reply Quote 1
                          • lolobyteL Offline
                            lolobyte
                            last edited by

                            Hi all,

                            after doing this

                            Disable the screensaver:
                            Go to LXDE-autostart config:

                            sudo nano /etc/xdg/lxsession/LXDE/autostart

                            add the following lines:

                            @xset s noblank
                            @xset s off
                            @xset -dpms

                            Save and close, using the commands CTRL-O and CTRL-X.

                            Go to lightdm.conf:

                            sudo nano /etc/lightdm/lightdm.conf

                            add the following lines in section [SeatDefaults]:

                            xserver-command=X -s 0 -dpms

                            The fucking screensaver is starting again.

                            Then i do following:

                            sudo apt-get install xscreensaver
                            sudo apt-get remove xscreensaver

                            An i never see a starting screensaver gain.

                            Good luck!

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              markiper
                              last edited by

                              So here is how I was able to fix my issue with the screen saver. I started this project following the tutorial from here:

                              https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

                              When you get to the Disable the ScreenSaver portion of the article, instead of changing the autostart file under

                              /etc/xdg/lxsession/LXDE/autostart

                              You should modify the autostart file under ~/.config/lxsession/LXDE/autostart

                              sudo nano ~/.config/lxsession/LXDE/autostart

                              Comment the first 3 lines (using a #), then add the same three lines listed in the tutorial. The final autostart file after all modifications should look similar to:

                              #@lxpanel --profile LXDE
                              #@pcmanfm --desktop --profile LXDE
                              #@xscreensaver -no-splash

                              @xset s noblack
                              @xset s off
                              @xset -dpms

                              Once that is done, follow the instructions to modify the lightdm.conf file:

                              sudo nano /etc/lightdm/lightdm.conf

                              [SeatDefaults]
                              xserver-command=X -s 0 -dpms

                              Save the changes, reboot your raspberry pi (I am using an RPi3), and the screen saver is gone for good. Hopefully this helps someone else having the same issue.

                              1 Reply Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer @frog
                                last edited by

                                @frog said in Stop the screensaver!:

                                There’s no need for that attitude. Please desist as this is a forum for helping people. I also had this problem so it isn’t isolated. It may not be possible to add a keyboard and mouse to the screen and use the screensaver utility.

                                Attitude? Oh you haven’t seen my attitude… just making a simple suggestion where there doesn’t need a case made out of it. It’s THE simplest way for NON programmers to do it…

                                1 Reply Last reply Reply Quote 1
                                • rcollieR Offline
                                  rcollie
                                  last edited by

                                  I realize how (super) old this topic is, but for anyone who stumbles across it and still dealing with this, xscreensaver really is the easiest solution.

                                  sudo apt-get install xscreensaver

                                  Just change the screen saver in there to no screen saver, and you’re sorted.

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    PaulB
                                    last edited by

                                    Hey guys,

                                    there is another option on disabling the screensaver, which worked perfectly for me.
                                    Just disable the screensaver in the option menu of debian.

                                    Hope this helps someone :)

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      BlackTalon
                                      last edited by

                                      Revived again. I have xscreensaver installed and the screensaver disabled. It still blanks the screen after a day.

                                      1 Reply Last reply Reply Quote 0
                                      • ChrisC Offline
                                        Chris
                                        last edited by

                                        Hello,

                                        After a total reinstall of the recent raspberry to integrate Google Assist Pi, I also have the same problem.

                                        After watching, I end up with an empty screen after about 6 hours. I am forced to restart MagicMirror via the MMM-Remote-Control module.
                                        On the other hand I do not have xsceensaver of installed but the modification of the lines of command indicated in the wiki of installation of MM

                                        I did not experience this problem before. The only difference between my two installations is the 2.3.1 update of MagicMirror.
                                        Would it affect?

                                        Regards,

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Gabev
                                          last edited by

                                          I had the same problem where. I stumbled across this thread, check out the answer given by JimmyN… it helped me at least.

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            m0111k @cowboysdude
                                            last edited by

                                            @cowboysdude tried that, screen still went standby… any clue for fix?
                                            ps im newb here, how can i remove xscreensaver when it doesnt work? Thanks

                                            Mykle1M 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • 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