I'm having trouble getting a keybind to work and I've tried all I know, plus I've racked others' brains about it, and we just can't figure out a solution. So, what I'm trying to do is have the Magic Mirror2 program run with a single keybind. In order to run it normally, one has to enter two commands into the terminal
I want to just start up the program using Ctrl+Alt+m, but the Pi doesn't seem to want to let me.
Code: Select all
cd MagicMirror DISPLAY=:0 npm start
For reference, the Magic Mirror instructions and everything can be found on the creator's GitHub:
https://github.com/MichMich/MagicMirror ... /README.md