Yes the instructions conflict., you should only edit /etc/defaults/pd-extended, not /etc/init.d/pd-extended. And you will need to specify the complete path to the patch you wnat to open.
.hc
On 11/25/2012 12:10 AM, Epic Jefferson wrote:
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner hans@at.or.atwrote:
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list