Read the statement by Michael Teeuw here.
Stop the screensaver!
-
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/autostartadd the following lines:
@xset s noblank
@xset s off
@xset -dpmssudo 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.
-
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.
-
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?
-
@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 lightdmso - 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!
-
@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 -dpmsI 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
-
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. -
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/
-
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.
-
-
-
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.
-
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 -dpmsSave 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 xscreensaverAn i never see a starting screensaver gain.
Good luck!
-
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 -dpmsOnce that is done, follow the instructions to modify the lightdm.conf file:
sudo nano /etc/lightdm/lightdm.conf
[SeatDefaults]
xserver-command=X -s 0 -dpmsSave 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.
-
@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…
-
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.
-
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 :)
-
Revived again. I have xscreensaver installed and the screensaver disabled. It still blanks the screen after a day.
-
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 MMI 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,
-
I had the same problem where. I stumbled across this thread, check out the answer given by JimmyN… it helped me at least.
-
@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
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