Hi Epic,<br><br>I got Pd running at startup on the RPi without modifying /etc/init.d/pd-extended.<br>All I did is add a line in /etc/rc.local, something like 'pd -nogui -audiobuf 100 -noadc /home/pi/mypatch.pd'<br>
<br>This will start Pd, without GUI, with a buffer big enough for the RPi, without audio in (there's no capture on the RPi), and open the patch called 'mypatch.pd' in the home folder.<br><br>This should work a fresh Raspbian install. Pd will start without the user having to login, nor start X.<br>
<br>There's also an alternate solution involving the cration of a bash script. I described it here on my blog : <a href="http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/">http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/</a><br>
<br>Cheers,<br><br>Pierre.<br><br>PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi.<br><br><div class="gmail_quote">2012/11/25 Epic Jefferson <span dir="ltr"><<a href="mailto:jeffreyconcepcion@gmail.com" target="_blank">jeffreyconcepcion@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hans:<div><br></div><div>to make sure i had everything correct i started from scratch, </div><div>i did everything you indicated including the exact patch location, still nothing.</div>
<div>i added the auto login as suggested by Cyrille, nada.</div>
<div><br></div><div>Cyrille:</div><div>could you be more specific as to what i would replace the startx with? </div><div>should i indicate the exact path as well?</div><div><br></div><div>like so: <span style="line-height:1.1em;font-size:13px;background-color:rgb(249,249,249);font-family:monospace,Courier">su pi -c /home/pi/Desktop/whatever.pd</span></div>
<div><br></div><div>i tested it with startx and it did not work anyway.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry <span dir="ltr"><<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<br>
<br>
to start a patch on a RPi, you can also follow this instruction :<br>
<a href="http://elinux.org/RPi_Debian_Auto_Login" target="_blank">http://elinux.org/RPi_Debian_<u></u>Auto_Login</a><br>
<br>
once autologin work, you can replace the startX by pd.<br>
<br>
works for me.<br>
cheers<br>
c<br>
<br>
<br>
Le 25/11/2012 06:10, Epic Jefferson a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Charles:<br>
<br>
i found /etc/init.d/pd-extended and added<br>
<br>
su -c "pd whetever.pd" pi<br>
<br>
(am i supposed to specify the exact location of the patch?<br>
/home/pi/Desktop/pd/whatever.<u></u>pd)<br>
<br>
then<br>
$ chmod a+x /etc/init.d/pd-extended<br>
$ update-rc.d pd-extended defaults 99<br>
<br>
i rebooted but no pd patch on startup<br>
<br>
Hans:<br>
i also tried editing /etc/default/pd-extended by un-commenting<br>
RUNPDDAEMON=yes<br>
DAEMON=/usr/bin/pd-extended<br>
and i set the patch location<br>
and the user: USER=pi<br>
<br>
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?<br>
<br>
<br></div><div>
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a> <mailto:<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>>> wrote:<br>
<br>
<br>
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:<br>
<br>
> Epic Jefferson wrote:<br>
>> i'd like to start a patch automatically upon booting. is there a file i can<br>
>> edit to load a whatever.pd patch by the end of the start up sequence? GUI<br>
>> is not required.<br>
><br>
> Create a script named /etc/init.d/pdauto containing :<br>
><br>
> #!/bin/sh<br>
> su -c "pd mypatch.pd" your_username<br>
><br>
> Make it executable : chmod a+x /etc/init.d/pdauto<br>
><br>
> Then run :<br>
> update-rc.d pdauto defaults 99<br>
> to make it run at startup<br>
><br>
> See 11.6 in<br>
> <a href="http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html" target="_blank">http://www.debian.org/doc/<u></u>manuals/debian-faq/ch-<u></u>customizing.en.html</a><br>
> for more details.<br>
<br>
Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian.<br>
<br>
Edit /etc/default/pd to change the startup options.<br>
<br>
.hc<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br></div>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> <mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>> mailing list<div><br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
</font></span></div><span class="HOEnZb"><font color="#888888"><a href="http://www.epicjefferson.com" target="_blank">www.epicjefferson.com</a> <<a href="http://www.epicjefferson.com" target="_blank">http://www.epicjefferson.com</a>><br>
<a href="http://www.avmachinists.org" target="_blank">www.avmachinists.org</a> <<a href="http://www.avmachinists.org" target="_blank">http://www.avmachinists.org</a>> Puerto Rico based Art Collective/ Non-Profit Org<div>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
</div></font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><a href="http://www.epicjefferson.com" target="_blank">www.epicjefferson.com</a><br><a href="http://www.avmachinists.org" target="_blank">www.avmachinists.org</a> Puerto Rico based Art Collective/ Non-Profit Org<br>
</font></span></div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>