hello,

to start a patch on a RPi, you can also follow this instruction :
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
     > 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




--
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


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to