Read the statement by Michael Teeuw here.
Stop the screensaver!
-
@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.