• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MagicMirror on secondary monitor

Scheduled Pinned Locked Moved Unsolved Troubleshooting
8 Posts 3 Posters 440 Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    clakkentt
    last edited by Aug 24, 2024, 12:48 AM

    Re: Magic mirror with 2 displays

    System HP desktop with DP and HDMI outputs
    OP: Ubuntu 22

    I 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 file

    The 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

    S 1 Reply Last reply Aug 24, 2024, 3:00 AM Reply Quote 1
    • S Offline
      sdetweil @clakkentt
      last edited by sdetweil Aug 24, 2024, 3:15 AM Aug 24, 2024, 3:00 AM

      @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.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 2 Replies Last reply Aug 24, 2024, 3:09 AM Reply Quote 0
      • C Offline
        clakkentt @sdetweil
        last edited by Aug 24, 2024, 3:09 AM

        @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.

        B 1 Reply Last reply Aug 24, 2024, 4:30 AM Reply Quote 0
        • B Offline
          BKeyport Module Developer @clakkentt
          last edited by Aug 24, 2024, 4:30 AM

          @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.

          The "E" in "Javascript" stands for "Easy"

          C 1 Reply Last reply Aug 24, 2024, 3:41 PM Reply Quote 0
          • C Offline
            clakkentt @sdetweil
            last edited by Aug 24, 2024, 3:38 PM

            @sdetweil

            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

            S 1 Reply Last reply Aug 24, 2024, 4:18 PM Reply Quote 0
            • C Offline
              clakkentt @BKeyport
              last edited by Aug 24, 2024, 3:41 PM

              @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.

              B 1 Reply Last reply Aug 24, 2024, 8:19 PM Reply Quote 0
              • S Offline
                sdetweil @clakkentt
                last edited by Aug 24, 2024, 4:18 PM

                @clakkentt understood

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BKeyport Module Developer @clakkentt
                  last edited by Aug 24, 2024, 8:19 PM

                  @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.

                  The "E" in "Javascript" stands for "Easy"

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    1/8
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy