Read the statement by Michael Teeuw here.
Magic Mirror with Pi4 OS not working with Pi5
-
@sdetweil Hello Sam, in the installers/mm.sh, second line, I find: npm run start:x11 ; should I change this to npm start:wayland OR to npm run start:wayland ?
ANDthen
pm2 flush
pn2 restart mm ! Is it pn2 OR pm2 ? -
npm run start:wayland
good catch
npm start, is the only shortcut
all others require npm runsee the package.json
scripts
list for other npm run commands -
@sdetweil
Sorry, don not know, how to edit mm.sh. when I go to ~/MagicMirror/installers/mm.sh I get a long list but can not edit it. When I go to mm.sh via Datei Manager I get only this few lines:
#!/bin/bashThis file is still here to keep PM2 working on older installations.
cd /home/pi5/MagicMirror
DISPLAY=:0 npm start.
I have seen that in raspberry config > advanced options one can switch to wayland backends. Could that help here in any way? Sorry but my knowledge in Linux is not really exciting. Thanks for all your effort. -
there it is
DISPLAY=:0 npm start
edit
nano is a terminal windows based
genie is a graphical editor
there lots of others -
@sdetweil ???
-
@TomOMaley you replace npm start
with npm run start:waylandright?
you said you didnt know how to edit. how do you change config.js?
-
-
@sdetweil Thank you so far Sam. I give up and will use my Pi4 where everything runs smothly. It is much to time consuming and frustrating. When I have more time I think I try an MM installation manually from scratch. I really appriciate your help. Can I show my appreciation in any way ?
-
cd ~/MagicMirror/installers nano mm.sh
move around with arrow keys, backspace , etc,
changethen
ctrl-o
to write file, hit enter
ctrl-x to exitthis project requires a lot of learning
no shortcutstime for a linux class
-
@TomOMaley said in Magic Mirror with Pi4 OS not working with Pi5:
When I have more time I think I try an MM installation manually from scratch.
just be careful… there are lots of things my script does for you