Read the statement by Michael Teeuw here.
MagicMirror on secondary monitor
-
Re: Magic mirror with 2 displays
System HP desktop with DP and HDMI outputs
OP: Ubuntu 22I want to run MagicMirror in a system with 2 monitors, showing MagicMirror on monitor 2
I also want to turn off the second monitor when we are not near.
I can turn the second monitor off and on using xrandr
I can start MagicMirror on monitor two using the electronPosition option in the config fileThe problem is that when I turn off the second monitor MagicMirror “moves” to the main monitor which I don’t want.
I read about using the display variable to direct the output to the second monitor but I have no idea how to setup the display:0 and display:1 variables to point to the two monitors and I don’t even know if this will keep MM from moving to monitor 1 when I turn off monitor 2
Has anyone done this and have a solution or any hints?
Thank you
Carlos
-
@clakkentt i think this is a system design problem, i see the same thing on my two monitor system when i turn off a monitor.
and it wont go back unless i stop and restart mm, after turning on the monitor.
same thing happens with other apps too.
so its not an electron problem.turning off the hdmi port is the same as turning off the monitor. have you tried hiding the modules instead of turning off the hdmi port?
that works for me.
-
@sdetweil Thank you, I was hoping to have just one computer with the home automation software and MM but i guess I will have to keep a pi exclusively for MM.
-
@clakkentt FWIW, the same thing happens on the PI - I’ve got a dual monitor set up, and when I turn off the monitors, they not only smash onto one screen, but shrink WAY down.
-
It’s not a matter of clearing the screen so I can use the mirror, rather it i about not wasting energy on a monitor when most of the time we are not there.
I am going to try a two step process, stop MM, then turn off the monitor and on the reverse start the monitor and then start MM
Thanks again
-
@BKeyport The pi I mentioned is a pi 3 with a single HDMI that I now have in the mirror. I am hoping to eliminate that and use a desktop computer that runs 24/7 to run MM on the mirror monitor as the second one.
-
@clakkentt understood
-
@clakkentt Yeah – I get that… Sadly, I don’t think there’s a way to get around “Stupid video driver tricks” in this case, sadly.