<?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[MagicMirror on second Monitor]]></title><description><![CDATA[<p dir="auto">I use a raspberry Pi 4 with two 24“ monitors. I want to start with one magicmirror on monitor 2 and a second instanc on monitor 1.<br />
First step is to start MagicMirror on monitor 2, with option <code> „electronOptions:{ x:1920 },“</code><br />
in config.js</p>
<p dir="auto">I start magicmirror with command „npm run start“ and dependent with monitor is the terminal window opens the Magicmirror. If terminal is on monitor 1 start magicmirror is on monitor 1.<br />
If terminal is on monitor 2 start magicmirror is on monitor 2.<br />
Same problem when i start the MagicMirroc with pm2.</p>
<p dir="auto">I think i have two seperate monitor not 1 monitor with resulation 3840 pixel.<br />
Is this a problem but what is the solution?<br />
<img src="/assets/uploads/files/1721231300373-magicmirrorraspi4_2-resized.jpg" alt="MagicMirrorraspi4_2.jpg" class=" img-fluid img-markdown" /><br />
Thank you for any tips</p>
]]></description><link>https://forum.magicmirror.builders/topic/18880/magicmirror-on-second-monitor</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 18:31:31 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18880.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jul 2024 15:48:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MagicMirror on second Monitor on Mon, 22 Jul 2024 19:34:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> I believe you are right. I had the same issue. I tried to run the xrandr query and I could not print the displays. I looked everywhere, the only solution I found was to switch back to X11. This was the only way to get the electron option to treat the screen as a single screen and move the display to the second monitor.<br />
Anyway, thanks a lot, reading this post solved my problem and I was trying to figure it out for a while !</p>
]]></description><link>https://forum.magicmirror.builders/post/118943</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118943</guid><dc:creator><![CDATA[zane-zan]]></dc:creator><pubDate>Mon, 22 Jul 2024 19:34:00 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Thu, 18 Jul 2024 08:56:25 GMT]]></title><description><![CDATA[<p dir="auto">You are absolutely brilliant, now it works.<br />
I change in “raspi-config” to x11 desktop environment and now magicmirror run on second monitor.</p>
<p dir="auto">Thank you all for your tips</p>
]]></description><link>https://forum.magicmirror.builders/post/118893</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118893</guid><dc:creator><![CDATA[Babene1]]></dc:creator><pubDate>Thu, 18 Jul 2024 08:56:25 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 20:03:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> Ahh, ok, I thought it was completely dead. Good to know.</p>
]]></description><link>https://forum.magicmirror.builders/post/118891</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118891</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Wed, 17 Jul 2024 20:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 18:38:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> xrandr --query worked while running wayland, output above</p>
<p dir="auto">wlr-randr does not do --query</p>
]]></description><link>https://forum.magicmirror.builders/post/118890</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118890</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 17 Jul 2024 18:38:06 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 17:39:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> With the displays showing “HDMI-A-1” etc, it’s in Wayland, xrandr doesn’t function under that. This is part of why I suggested going back to X11.</p>
]]></description><link>https://forum.magicmirror.builders/post/118889</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118889</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Wed, 17 Jul 2024 17:39:43 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 17:23:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/babene1" aria-label="Profile: Babene1">@<bdi>Babene1</bdi></a> I have run two monitors one landscape, one portait with  MM on each<br />
using the electronOptions:{} settings.</p>
<p dir="auto">the cursor moves over both seamlessly.<br />
that is one big display space.<br />
the xrandr command will tell you …</p>
<p dir="auto">do you have two complete independant  desktops?</p>
]]></description><link>https://forum.magicmirror.builders/post/118888</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118888</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 17 Jul 2024 17:23:33 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 16:41:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/babene1" aria-label="Profile: Babene1">@<bdi>Babene1</bdi></a> you should have two X11 DISPLAY objects…</p>
<p dir="auto">the default is :0  (which we set in the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> script and in the package.json START clause, if it is not set</p>
<pre><code class="language-json">"scripts": {
		"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
</code></pre>
<p dir="auto">so you shouldn’t need the electronOptions settings, just set the display variable<br />
export DISPLAY=??</p>
<pre><code class="language-sh">xrandr --query
</code></pre>
<p dir="auto">should give you the list of displays</p>
<p dir="auto">note this is the X11 term, the Wayland value is different</p>
<p dir="auto">when I do xrandr on my pi5 with wayland (only ‘one’ screen) I see</p>
<pre><code class="language-text">xrandr --query
Screen 0: minimum 16 x 16, current 3840 x 2160, maximum 32767 x 32767
XWAYLAND14 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   3840x2160     29.98*+
   2048x1536     29.95  
   1920x1440     29.95  
   1600x1200     29.95  
   1440x1080     29.86  
   1400x1050     29.98  
   1280x1024     29.90  
   1280x960      29.82  
   1152x864      29.92  
   1024x768      29.89  
   800x600       29.55  
   640x480       29.85  
   320x240       27.50  
   2560x1600     29.99  
   1920x1200     29.95  
   1680x1050     29.95  
   1440x900      29.91  
   1280x800      29.83  
   720x480       29.25  
   640x400       29.58  
   320x200       26.53  
   3200x1800     29.96  
   2880x1620     29.96  
   2560x1440     29.94  
   2048x1152     29.94  
   1920x1080     29.95  
   1600x900      29.92  
   1368x768      29.94  
   1280x720      29.93  
   1024x576      29.84  
   864x486       29.50  
   720x400       29.51  
   640x350       29.03  
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/118887</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118887</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 17 Jul 2024 16:41:13 GMT</pubDate></item><item><title><![CDATA[Reply to MagicMirror on second Monitor on Wed, 17 Jul 2024 16:42:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/babene1" aria-label="Profile: Babene1">@<bdi>Babene1</bdi></a> Please refer to the documentation for MagicMirror.  <a href="https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples</a></p>
<p dir="auto">You may want to also run <code>sudo raspi-config</code> and change back to the x11 desktop environment. there’s some unique issues with  the new environment that may not be covered.</p>
]]></description><link>https://forum.magicmirror.builders/post/118886</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118886</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Wed, 17 Jul 2024 16:42:41 GMT</pubDate></item></channel></rss>