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 &#39;pd -nogui -audiobuf 100 -noadc /home/pi/mypatch.pd&#39;<br>
<br>This will start Pd, without GUI, with a buffer big enough for the RPi, without audio in (there&#39;s no capture on the RPi), and open the patch called &#39;mypatch.pd&#39; 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&#39;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&#39;ve never tried pd-extended on the Pi.<br><br><div class="gmail_quote">2012/11/25 Epic Jefferson <span dir="ltr">&lt;<a href="mailto:jeffreyconcepcion@gmail.com" target="_blank">jeffreyconcepcion@gmail.com</a>&gt;</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">&lt;<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>&gt;</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 &quot;pd whetever.pd&quot; 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&#39; and Hans&#39; instructions?<br>
<br>
<br></div><div>
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner &lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a> &lt;mailto:<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;&gt; wrote:<br>
<br>
<br>
    On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:<br>
<br>
     &gt; Epic Jefferson wrote:<br>
     &gt;&gt; i&#39;d like to start a patch automatically upon booting. is there a file i can<br>
     &gt;&gt; edit to load a whatever.pd patch by the end of the start up sequence? GUI<br>
     &gt;&gt; is not required.<br>
     &gt;<br>
     &gt; Create a script named /etc/init.d/pdauto containing :<br>
     &gt;<br>
     &gt; #!/bin/sh<br>
     &gt; su -c &quot;pd mypatch.pd&quot; your_username<br>
     &gt;<br>
     &gt; Make it executable : chmod a+x /etc/init.d/pdauto<br>
     &gt;<br>
     &gt; Then run :<br>
     &gt; update-rc.d pdauto defaults 99<br>
     &gt; to make it run at startup<br>
     &gt;<br>
     &gt; See 11.6 in<br>
     &gt; <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>
     &gt; 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> &lt;mailto:<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a>&gt; mailing list<div><br>
    UNSUBSCRIBE and account-management -&gt; <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> &lt;<a href="http://www.epicjefferson.com" target="_blank">http://www.epicjefferson.com</a>&gt;<br>

<a href="http://www.avmachinists.org" target="_blank">www.avmachinists.org</a> &lt;<a href="http://www.avmachinists.org" target="_blank">http://www.avmachinists.org</a>&gt; 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 -&gt; <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 -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>