Read the statement by Michael Teeuw here.
Two Display
-
yes but its
npm run server
not npm server
only the start clause
npm start
allows use without ‘run’
-
@sdetweil thanks a lot, it works.
-
How to setup the environnent variable and custom css for that?
Do you have any tutorial/guide i can use? -
@rubelahamed see this post
https://forum.magicmirror.builders/topic/17239/two-display/5?_=1665163023943customCss is a config Parm in config.js
see
https://docs.magicmirror.builders/configuration/introduction.html -
Maybe a noobish question but why isn’t possible to run magicmirror and display it over 2 screens.
So that you can say like module x on display 1 and module y on display 2 for example through a JS class?? -
@MarkV well you ‘can’, but you have to do it manually, drag the mm window over both screens. but maximize will only do one screen. same on windows.
where the module is displayed depends on the css structure. the ‘position’ is a predefined area in main.css, the module returns a blob of content (html div) and the mm runtime injects the content into its configured location
-
@sdetweil
Oh oke. But on windows you can also expand the desktop en have some things start on one en other thongs on the second screen…
To bad that you have to drag them this would be one of the best addons for MMM -
@MarkV u can change the MM config and have it start on the second screen…
add (after the address: config )
electronOptions: { x: ????? },
where xxx is the width of your 1st display
or y: ??? if vertical
you can also run two instances of MM from the same folder with different configurations on different ports
drag is to make ONE BIG MM across BOTH screens
the maximize function only does ONE screen…
open chrome on any screen, hit maximize button…
nothing we can do
-