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 Dual Screen

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 4 Posters 1.8k Views 5 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.
    • G Offline
      geek_kaushal
      last edited by

      Hello People,
      I am building a MagicMirror on Pi4. And since it has 2 hdmi out ports and I have a few monitors lying around, thought it will be a good idea to build a 3 feet x 2 feet mirror with two screens. Its in early phase right now as I am still configuring it. I am using two monitors in extended mode (not duplicating it).
      How can I run magic mirror on both screens. I have created two instances of magicmirror in two folders, mm1 and mm2. I can run each of them successfully but they run on the same monitor only.
      I need to run mm1 instance on monitor 1 and mm2 instance on monitor 2. Please guide. Thanks…

      S 1 Reply Last reply Reply Quote 0
      • C Offline
        Cpaczek
        last edited by

        This is something you would have to add to the electron logic. Something like this https://github.com/electron/electron/issues/4877

        G 1 Reply Last reply Reply Quote 1
        • S Do not disturb
          sdetweil @geek_kaushal
          last edited by

          @geek_kaushal in one config.js add

          electronOptions:{x:????},
          

          where ??? is the width of the screen, to put that mm on the second screen

          on my Pi4
          it is
          electronOptions:{x:3840},

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • C Offline
            Cpaczek
            last edited by

            once you have one of the electron instances up and selected use the shortcut key (super (windows key) + shift + [left, right, up, down]) to move it to a difference screen. this works on most linux distros but not sure if this would work on rasbian. if this doesn’t work i’ll write a script.

            1 Reply Last reply Reply Quote 0
            • G Offline
              geek_kaushal @Cpaczek
              last edited by

              @Cpaczek Looks Promising, I will give it a go in a few hours and post results here.

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Axel51 @geek_kaushal
                last edited by

                @geek_kaushal did u test it?

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  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