Pierre/Cyrille: it worked. since i have pd-extended installed, i added this line to /etc/rc.local:
pd-extended nogui -audiobuf 100 -noadc /home/pi/Desktop/mypatch.pd Hans: i copied the script to /etc/init.d/pd-extended. it still didn't work for me. i crosschecked the file you attached with the one i already had and they look exactly the same to me. Perhaps you accidentally attached the old version? On Sun, Nov 25, 2012 at 3:55 PM, Pierre Massat <[email protected]> wrote: > Hi Epic, > > I got Pd running at startup on the RPi without modifying > /etc/init.d/pd-extended. > All I did is add a line in /etc/rc.local, something like 'pd -nogui > -audiobuf 100 -noadc /home/pi/mypatch.pd' > > 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. > > This should work a fresh Raspbian install. Pd will start without the user > having to login, nor start X. > > There's also an alternate solution involving the cration of a bash script. > I described it here on my blog : > http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-raspberry-pi/ > > Cheers, > > Pierre. > > PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi. > > > 2012/11/25 Epic Jefferson <[email protected]> > >> Hans: >> >> to make sure i had everything correct i started from scratch, >> i did everything you indicated including the exact patch location, still >> nothing. >> i added the auto login as suggested by Cyrille, nada. >> >> Cyrille: >> could you be more specific as to what i would replace the startx with? >> should i indicate the exact path as well? >> >> like so: su pi -c /home/pi/Desktop/whatever.pd >> >> i tested it with startx and it did not work anyway. >> >> >> On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry <[email protected]> wrote: >> >>> hello, >>> >>> to start a patch on a RPi, you can also follow this instruction : >>> http://elinux.org/RPi_Debian_**Auto_Login<http://elinux.org/RPi_Debian_Auto_Login> >>> >>> once autologin work, you can replace the startX by pd. >>> >>> works for me. >>> cheers >>> c >>> >>> >>> Le 25/11/2012 06:10, Epic Jefferson a écrit : >>> >>>> 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 >>>> <[email protected]<mailto: >>>> [email protected]>> wrote: >>>> >>>> >>>> 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<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 >>>> >>>> >>>> >>>> ______________________________**_________________ >>>> [email protected] <mailto:[email protected]> mailing list >>>> >>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/** >>>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> >>>> >>>> >>>> >>>> >>>> -- >>>> www.epicjefferson.com <http://www.epicjefferson.com> >>>> www.avmachinists.org <http://www.avmachinists.org> Puerto Rico based >>>> Art Collective/ Non-Profit Org >>>> >>>> >>>> >>>> ______________________________**_________________ >>>> [email protected] mailing list >>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/** >>>> listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list> >>>> >>>> >> >> >> -- >> www.epicjefferson.com >> www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > -- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
