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

Wayland question

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 3 Posters 413 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.
  • S Online
    sdetweil @gonzonia
    last edited by sdetweil May 31, 2025, 8:47 PM May 31, 2025, 8:47 PM

    @gonzonia no. I use ssh all the time, never real keyboard

    The start:Wayland says

    If WAYLAND_DISPLAY is set, use it, else set it to wayland-1
    But
    Maybe it needs to be wayland-0

    So add
    export WAYLAND_DISPLAY=wayland-0
    Before the npm run start:Wayland line

    And try that

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    G 1 Reply Last reply May 31, 2025, 8:53 PM Reply Quote 0
    • G Offline
      gonzonia @sdetweil
      last edited by May 31, 2025, 8:53 PM

      @sdetweil I think that worked. I was able to start it with pm2.

      S 1 Reply Last reply May 31, 2025, 9:01 PM Reply Quote 1
      • S Online
        sdetweil @gonzonia
        last edited by May 31, 2025, 9:01 PM

        @gonzonia cool

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply May 31, 2025, 9:04 PM Reply Quote 0
        • S Online
          sdetweil @sdetweil
          last edited by May 31, 2025, 9:04 PM

          I’ll see if I can mod the script, not til Monday

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S 1 Reply Last reply Jun 3, 2025, 11:49 AM Reply Quote 0
          • S Offline
            schlomm @sdetweil
            last edited by Jun 3, 2025, 11:49 AM

            Hi @sdetweil
            I have tested your updated script and it works flawlessly. Exporting the needed WAYLAND environment variable was exactly what I was looking for.

            Since I install MagicMirror via an Ansible playbook, the required environment variables are not set in the used .pm2/dump.pm2 file - my previous approach was to restore a prepared dump.pm2 file, but with your approach it is much more convenient :)

            S 1 Reply Last reply Jun 3, 2025, 12:09 PM Reply Quote 0
            • S Online
              sdetweil @schlomm
              last edited by Jun 3, 2025, 12:09 PM

              @schlomm awesome, thanks for the feedback

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved on Jun 4, 2025, 12:34 AM
              • 1 / 1
              1 / 1
              • First post
                9/10
                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