<?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[How do I now Rotate display ?]]></title><description><![CDATA[<p dir="auto">I’ve just upgraded Jessie to Stretch… and did a fresh install of MM.<br />
Last time I set MM up I done the - display_rotate=1 in sudo nano /boot/config.txt… but obviosly things have changed since I done that first time around…</p>
<p dir="auto">so can someone tell me what is the new way of rotating the display now?<br />
I tried to do what I read in another post, - sudo raspi-config. Go to the Advanced Options menu and select A7 GL Driver. Next, select the G1 GL (Full KMS) OpenGL desktop driver with full KMS.  nano ~/.config/lxsession/LXDE-pi/autostart and to then insert @xrandr --output HDMI-1 --rotate right… but the Terminal says - Directory ‘/home/pi/.config/lxsession/LXDE-pi’ does not exist?</p>
<p dir="auto">TVMIA</p>
]]></description><link>https://forum.magicmirror.builders/topic/10776/how-do-i-now-rotate-display</link><generator>RSS for Node</generator><lastBuildDate>Sat, 15 Aug 2026 13:10:37 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10776.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Jul 2019 10:39:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How do I now Rotate display ? on Fri, 03 Jan 2020 18:50:06 GMT]]></title><description><![CDATA[<p dir="auto">Just tried this. It seems the fkms + display_rotate no longer works. There are some comments about in the rpi forums too, like this one:<br />
<a href="https://www.raspberrypi.org/forums/viewtopic.php?t=246146" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/forums/viewtopic.php?t=246146</a></p>
<p dir="auto">Using the kms driver plus the edits to the autostart file worked for me. Is there a way to get an official update to the documentation?</p>
]]></description><link>https://forum.magicmirror.builders/post/67147</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/67147</guid><dc:creator><![CDATA[tisnatch]]></dc:creator><pubDate>Fri, 03 Jan 2020 18:50:06 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sun, 14 Jul 2019 09:56:16 GMT]]></title><description><![CDATA[<p dir="auto">to add to my latest post:</p>
<p dir="auto">so if you add an autostart file under <code>~/.config/lxsession/LXDE-pi/</code> the default file located under <code>/etc/xdg/lxsession/LXDE-pi/autostart</code> is overridden for the user. Since I had a user-config the changes applied in the default file had no effect. See <a href="https://github.com/MichMich/MagicMirror/issues/1473#issuecomment-460861298" target="_blank" rel="noopener noreferrer nofollow ugc">this post</a> for reference.</p>
<p dir="auto">To summarise the following configuration works in my case.</p>
<p dir="auto"><code>~/.config/lxsession/LXDE-pi/autostart</code>:</p>
<pre><code># hide mouse pointer when idle
@unclutter -display :0 -idle 3 -root -noevents
# rotate display by 90 degrees
@xrandr --output HDMI-1 --rotate right
</code></pre>
<p dir="auto">(I opted for this way, since I don’t want to load the desktop ui)</p>
<p dir="auto"><code>/boot/config.txt</code> (snippet):</p>
<pre><code># MagicMirror configuration
disable_splash=1
avoid_warnings=1
dtoverlay=vc4-kms-v3d
gpu_mem=128
</code></pre>
<p dir="auto">Make sure that there’s no <code>dtoverlay=vc4-fkms-v3d</code>entry or comment it.</p>
]]></description><link>https://forum.magicmirror.builders/post/58926</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58926</guid><dc:creator><![CDATA[Knapoc]]></dc:creator><pubDate>Sun, 14 Jul 2019 09:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 15:50:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/evroom" aria-label="Profile: evroom">@<bdi>evroom</bdi></a> said in <a href="/post/58865">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto">This topic discusses an alternative way to rotate the screen:</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1">https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1</a></p>
<p dir="auto">It worked for me.</p>
</blockquote>
<p dir="auto">Thanks…  ^^^ This worked for me too now.<br />
Appreciate all the help on this guys.</p>
]]></description><link>https://forum.magicmirror.builders/post/58877</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58877</guid><dc:creator><![CDATA[johnnyboy]]></dc:creator><pubDate>Sat, 13 Jul 2019 15:50:48 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 13:34:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/evroom" aria-label="Profile: evroom">@<bdi>evroom</bdi></a> said in <a href="/post/58865">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto">This topic discusses an alternative way to rotate the screen:</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1">https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1</a></p>
<p dir="auto">It worked for me.</p>
</blockquote>
<p dir="auto">Thanks… will play around with that and see if that helps… Strange why doing what I did above shuts down PM2 though?</p>
]]></description><link>https://forum.magicmirror.builders/post/58867</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58867</guid><dc:creator><![CDATA[johnnyboy]]></dc:creator><pubDate>Sat, 13 Jul 2019 13:34:03 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 13:32:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/knapoc" aria-label="Profile: Knapoc">@<bdi>Knapoc</bdi></a> said in <a href="/post/58864">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnyboy" aria-label="Profile: johnnyboy">@<bdi>johnnyboy</bdi></a> said in <a href="/post/58862">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto">Still need to figuire out how to rotate the screen though.</p>
</blockquote>
<p dir="auto">What GL driver are you using?</p>
</blockquote>
<p dir="auto">G1 GL (Full KMS) OpenGL desktop driver with full KMS</p>
<blockquote>
<p dir="auto">Now I switched to the full kms one and the solution you just tried works…</p>
</blockquote>
<p dir="auto">Tried everything above again, but… Still will not rotate, and again lost PM2?.. All very strange… Maybe needs a bug fix of sorts? ( display_rotate=1 in sudo nano /boot/config.txt was soooooo perfect )</p>
<p dir="auto">Will now try the Custom CSS approach and see if that will be any better?</p>
]]></description><link>https://forum.magicmirror.builders/post/58866</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58866</guid><dc:creator><![CDATA[johnnyboy]]></dc:creator><pubDate>Sat, 13 Jul 2019 13:32:18 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 12:50:40 GMT]]></title><description><![CDATA[<p dir="auto">This topic discusses an alternative way to rotate the screen:</p>
<p dir="auto"><a href="https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1">https://forum.magicmirror.builders/topic/9707/save-performance-when-rotating-screen-e-g-on-raspberry-pi?page=1</a></p>
<p dir="auto">It worked for me.</p>
]]></description><link>https://forum.magicmirror.builders/post/58865</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58865</guid><dc:creator><![CDATA[evroom]]></dc:creator><pubDate>Sat, 13 Jul 2019 12:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 12:26:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnyboy" aria-label="Profile: johnnyboy">@<bdi>johnnyboy</bdi></a> said in <a href="/post/58862">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto">Still need to figuire out how to rotate the screen though.</p>
</blockquote>
<p dir="auto">What GL driver are you using? I’m currently having rotation issues with the fkms (fake) one, which is usually done by editing <code>/boot/config.txt</code>.</p>
<p dir="auto">Now I switched to the full kms one and the solution you just tried works… You can change the driver via <code>/boot/config.txt</code>:</p>
<pre><code>dtoverlay=vc4-kms-v3d
</code></pre>
<p dir="auto">or by choosing it in <code>sudo raspi-config</code>.</p>
<p dir="auto">The <a href="https://github.com/MichMich/MagicMirror/wiki/configuring-the-raspberry-pi" target="_blank" rel="noopener noreferrer nofollow ugc">wiki-page</a> also states, that the default location for autostart file changed:</p>
<blockquote>
<p dir="auto">To do so, edit the autostart file: (autostart file has been moved in the latest version of Raspbian Stretch, Version: April 2019, Release Date: 2019-04-08 Kernel: 4.14 to /etc/xdg/lxsession/LXDE-pi/autostart</p>
</blockquote>
<p dir="auto">Even though I have a fresh stretch install (last week), I cannot confirm that the location changed - I set the rotation config as mentioned in my previous post.</p>
]]></description><link>https://forum.magicmirror.builders/post/58864</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58864</guid><dc:creator><![CDATA[Knapoc]]></dc:creator><pubDate>Sat, 13 Jul 2019 12:26:22 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 12:05:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/knapoc" aria-label="Profile: Knapoc">@<bdi>Knapoc</bdi></a> said in <a href="/post/58859">How do I now Rotate display ?</a>:</p>
<blockquote>
<p dir="auto">so just create the folder… <code>mkdir -p /home/pi/.config/lxsession/LXDE-pi</code></p>
</blockquote>
<p dir="auto">Thanks, I entered as you suggested, and then entered the lines from above…  nano ~/.config/lxsession/LXDE-pi/autostart and to then insert @xrandr --output HDMI-1 --rotate right… then did a reboot, but display is still normal, and have now lost PM2 as it just goes straight to desktop now.</p>
<p dir="auto">PM2 Start procures - [pm2] [ERROR] File ecosystem.config.js not found</p>
<p dir="auto">MM worked perfect and PM2 worked as it booted into the MM… until I did as stated above and it has now done something?</p>
<p dir="auto">EDIT -  PM2 has worked again.</p>
<p dir="auto">Still need to figuire out how to rotate the screen though.</p>
]]></description><link>https://forum.magicmirror.builders/post/58862</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58862</guid><dc:creator><![CDATA[johnnyboy]]></dc:creator><pubDate>Sat, 13 Jul 2019 12:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to How do I now Rotate display ? on Sat, 13 Jul 2019 11:03:39 GMT]]></title><description><![CDATA[<p dir="auto">so just create the folder… <code>mkdir -p /home/pi/.config/lxsession/LXDE-pi</code></p>
]]></description><link>https://forum.magicmirror.builders/post/58859</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58859</guid><dc:creator><![CDATA[Knapoc]]></dc:creator><pubDate>Sat, 13 Jul 2019 11:03:39 GMT</pubDate></item></channel></rss>