-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland support #3582
Comments
I'm running Debian 11 with Wayland but without Wayfire and I have no problems with |
I'm running "pure" Wayland (not xwayland), same issue happens with Sway. |
Oh okay, I just checked: Electron is running under xwayland on my system. I'm just thinking out loud: Would it be possible to put a check into "npm run start" to see if Wayland or X is running and call the right command? This way we could also check if Windows is running (they also need another command). |
hmm, interesting :) I just write a test script for test it
now the question is... what language to use for code it ?
Or ... just add un new start line with something like this: |
I think this is sufficient. The wayland scenario is an edge case at the moment, in all raspian os images with desktop XWayland is installed which works with X11 as usual. |
@khassel ok ;) @KristjanESPERANTO , do you want to code it ? (i'm lazy mouahah) |
a few years ago i wrote a neutral wrapper for start, post install see #2571 |
so you don't need different start, and couldn't have multiple postinstall clauses |
I think we
|
I created a draft PR #3594 for further investigation and discussion. It is interesting to note that |
This PR adds start options for Wayland and Windows. This would solve issue #3582. **To Do if this PR is merged:** - [ ] Adjust [Windows section](https://docs.magicmirror.builders/getting-started/installation.html#windows) in documentation - [ ] Add Wayland section to the documentation
Hi,
Raspberry Pi OS Bookworm is now defaulting to Wayland and Wayfire and because of this change MagicMirror is not able to start via the standard
npm run start
as its looking forDISPLAY
to be set which doesn't exist anymore on Wayland.Maybe adding a
start-wayland
option topackage.json
will be a requirement in order to allow users running on modern distributions to use MagicMirror.This is how I'm running it and its working very well so far:
Related to https://gitlab.com/khassel/magicmirror/-/issues/74
The text was updated successfully, but these errors were encountered: