Skip to content

Wayland support #3582

@goldyfruit

Description

@goldyfruit

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 for DISPLAY to be set which doesn't exist anymore on Wayland.

Maybe adding a start-wayland option to package.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:

WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland

Related to https://gitlab.com/khassel/magicmirror/-/issues/74

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions