I have a spare TV right next to my mpcnc, so I figured that I would try and put it to use. I think I have everything working, but I think that the TV I’m using is dying. Was wondering if anyone would be interested in testing what I’ve done.
I started with a working cnc.js on a pi 3, after that I installed midori browser, x, and a window manager. So basically one cnc.js is working I:
sudo apt install midori
sudo aptitude install xinit
sudo apt install matchbox
sudo apt install x11-xserver-utils
sudo nano /home/pi/startcnc.sh
sudo xinit /home/pi/cncdisplay.sh
ctrl+x (Y) (enter)
sudo chmod a+x startcnc.sh
sudo nano /home/pi/.bashrc
(add “/home/pi/startcnc.sh” to very end of bashrc)
sudo nano /home/pi/cncdisplay.sh
#!/bin/sh
xset -dpms
xset s off
xset s noblank
matchbox-window-manager &
midori -e Fullscreen -a http://mpcnc.local/
ctrl+x Y enter
Note: I set my hostname to mpcnc.local