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 40.7k 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.
    • 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 1 / 5
                        • 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