Posts: 1
Joined: Fri Apr 27, 2018 7:58 pm

3B+ Keybinding

Fri Apr 27, 2018 8:09 pm

Hey all,
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

Code: Select all

cd MagicMirror
DISPLAY=:0 npm start
I want to just start up the program using Ctrl+Alt+m, but the Pi doesn't seem to want to let me.

For reference, the Magic Mirror instructions and everything can be found on the creator's GitHub:
https://github.com/MichMich/MagicMirror ... /README.md

User avatar
Posts: 1453
Joined: Wed Jan 09, 2013 3:05 pm
Location: thailand
Contact: Website

Re: 3B+ Keybinding

Sat Apr 28, 2018 2:22 am


looks like (C-A-M) is not used, can do with a script ( see the example).

Return to “Troubleshooting”