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.

    New MagicMirror start options in version 2.30.0

    Scheduled Pinned until 7/1/25, 4:02 PM Locked Moved General Discussion
    2 Posts 2 Posters 601 Views 2 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.
    • S Offline
      sdetweil
      last edited by sdetweil

      In an effort to help users NOT have to edit files to get started on different platforms we have added a new set of start options

      each has a start and a start:dev (to open the developers window)

      start, start-dev as before,
      but launches the X11 commands which work ‘most’ of the time

      start:x11, start-x11:dev
      explictly named using the x11 DISPLAY variable

      start:wayland, start-wayland:dev
      on the new PI os with the waylan compositor
      explictly named using the Wayland WAYLAND_DISPLAY variable

      start:windows, start-windows:dev
      for windows users

      		"start": "npm run start:x11",
      		"start:dev": "npm run start -- dev",
      		"start:wayland": "WAYLAND_DISPLAY=\"${WAYLAND_DISPLAY:=wayland-1}\" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland",
      		"start:wayland:dev": "npm run start:wayland -- dev",
      		"start:windows": ".\\node_modules\\.bin\\electron js\\electron.js",
      		"start:windows:dev": "npm run start:windows -- dev",
      		"start:x11": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
      		"start:x11:dev": "npm run start -- dev",
      

      these can be found in package.json in the script:{} section

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • S sdetweil pinned this topic on
      • C Offline
        CharlesBarden
        last edited by

        Thanks for posting this thread here. I just signed up a few minutes ago. I want to learn a lot things from here. I hope this community would be a good place to start with.

        1 Reply Last reply Reply Quote 1
        • S sdetweil referenced this topic on
        • S sdetweil referenced this topic on
        • S sdetweil referenced this topic on
        • S sdetweil referenced this topic on
        • 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