<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Screen keeps going to black after a few minutes.]]></title><description><![CDATA[<p dir="auto">I followed these instructions to set up my magic mirror and turn off the screensaver and screen blanking but the screen is still going to black after a few minutes.  Could someone please help me or let me know what I might be missing.  Pretty much new to coding, so I am trying to find my way around.</p>
<p dir="auto">"Step 3<br />
Let’s disable the screen saver and screen blanking as well. This needs to be done in two places. First in the autostart configuration:<br />
<code>sudo nano /etc/xdg/lxsession/LXDE-pi/autostart</code></p>
<p dir="auto">And add the following to the bottom of the file:</p>
<pre><code>@xset s noblank
@xset s off
@xset -dpms
0_1466022921947_049-configure-rpi-sm.png
</code></pre>
<p dir="auto">Next in the X-windows manager configuration:<br />
<code>sudo nano /etc/lightdm/lightdm.conf</code></p>
<p dir="auto">Scroll down to the [SeatDefaults] section and look for the xserver-command line below that. Change the line to look like this:<br />
<code>xserver-command=X -s 0 -dpms</code> (so you’re removing the # on the front, and adding the missing bits at the end.) Again, hit CTRL-X and say Y(es) to saving the file.</p>
<hr />
<p dir="auto"><strong>Note from admin:</strong> Please use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code" target="_blank" rel="noopener noreferrer nofollow ugc">Markdown</a> on code snippets for easier reading!</p>
]]></description><link>https://forum.magicmirror.builders/topic/692/screen-keeps-going-to-black-after-a-few-minutes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:24:42 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/692.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 23 Sep 2016 12:28:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Screen keeps going to black after a few minutes. on Sat, 24 Sep 2016 15:25:47 GMT]]></title><description><![CDATA[<p dir="auto">An extreme measure here would be to try this:</p>
<p dir="auto"><a href="https://www.raspberrypi.org/forums/viewtopic.php?f=28&amp;t=41898&amp;start=25" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/forums/viewtopic.php?f=28&amp;t=41898&amp;start=25</a></p>
<p dir="auto">xscreensaver can be used right off the menu… you can set/turn on/turn off functions.</p>
]]></description><link>https://forum.magicmirror.builders/post/5269</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/5269</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Sat, 24 Sep 2016 15:25:47 GMT</pubDate></item><item><title><![CDATA[Reply to Screen keeps going to black after a few minutes. on Fri, 23 Sep 2016 22:20:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chengstark" aria-label="Profile: chengstark">@<bdi>chengstark</bdi></a> said in <a href="/post/5242">Screen keeps going to black after a few minutes.</a>:</p>
<blockquote>
<p dir="auto"><a href="https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/</a></p>
</blockquote>
<p dir="auto">I went ahead and tried what you suggested and it wasn’t successful.  I couldn’t get it to auto-start or stop it from going to sleep.  I wish I could give more details, but I am completely new to coding.</p>
]]></description><link>https://forum.magicmirror.builders/post/5247</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/5247</guid><dc:creator><![CDATA[tjop]]></dc:creator><pubDate>Fri, 23 Sep 2016 22:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to Screen keeps going to black after a few minutes. on Tue, 27 Sep 2016 20:59:47 GMT]]></title><description><![CDATA[<p dir="auto">run<br />
<code>nano /home/pi/.config/lxsession/LXDE-pi/autostart</code><br />
Comment out (put a # in front of) the lines that are already in the file and add these 4 lines.</p>
<pre><code>@xset s off
@xset -dpms
@xset s noblank
@midori -e Fullscreen -a http://localhost/MagicMirror/index.php
</code></pre>
<p dir="auto">This will disable the screensaver and start the magic mirror on boot and skip loading the LXDE GUI.</p>
<p dir="auto">quoted from “<a href="https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.reddit.com/r/raspberry_pi/comments/3oktfu/magic_mirror_how_to/</a>”</p>
<hr />
<p dir="auto"><strong>Note from admin:</strong> Please use <a href="https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code" target="_blank" rel="noopener noreferrer nofollow ugc">Markdown</a> on code snippets for easier reading!</p>
]]></description><link>https://forum.magicmirror.builders/post/5242</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/5242</guid><dc:creator><![CDATA[chengstark]]></dc:creator><pubDate>Tue, 27 Sep 2016 20:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to Screen keeps going to black after a few minutes. on Fri, 23 Sep 2016 17:51:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tjop" aria-label="Profile: tjop">@<bdi>tjop</bdi></a> true, so disable the sleeping function of the pi should work right?</p>
]]></description><link>https://forum.magicmirror.builders/post/5241</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/5241</guid><dc:creator><![CDATA[chengstark]]></dc:creator><pubDate>Fri, 23 Sep 2016 17:51:31 GMT</pubDate></item></channel></rss>