On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:
Epic Jefferson wrote:
i'd like to start a patch automatically upon booting. is there a file i can edit to load a whatever.pd patch by the end of the start up sequence? GUI is not required.
Create a script named /etc/init.d/pdauto containing :
#!/bin/sh su -c "pd mypatch.pd" your_username
Make it executable : chmod a+x /etc/init.d/pdauto
Then run : update-rc.d pdauto defaults 99 to make it run at startup
See 11.6 in http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options.
.hc