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="background-color:rgb(249,249,249);color:rgb(0,0,0);font-family:monospace,Courier;font-size:13px;line-height:1.1em">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 class="im">
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 class="im">
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 class="im"><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>
<br>
--<br>
</div><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 class="im">
<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></blockquote>
</blockquote></div><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>
</div>