Thursday 15 October 2015

auto-start pd patch- to run headlessly

open terminal, type this in to edit  file.

sudo nano /etc/rc.local

Add this line below the comment, but leave the line exit 0 at the end, then save the file and exit.

pd-extended -nogui /home/pi/sensors/allsensorwritetolist.pd &





The & at the end stops an infinate loop so dont forget to put that in.
"-nogui" in the address starts the program up without its graphic display, if you want  graphic display remove this.
If running the pi headless, got to raspi-config and turn down how much memory the interface uses.
note!!!! and any script inside pd needs the full address

No comments:

Post a Comment