[PD] starting under linux

Kjetil S. Matheussen k.s.matheussen at notam02.no
Sun Sep 15 12:33:44 CEST 2002


On Sun, 15 Sep 2002, _-¯-_ wrote:

>  |
>  |The "trick" is to allways have a console-window open.
>
> or 20 .. so its never far .. ;)
>
I agree about that. :)

>  |
>  |You can use "xterm" with the "-e" option. Like this:
>  |"xterm -e pd -alsa", which first starts an xterm console which again
>  |runs pd with alsa.
>
> yeah but the problem with -e might be that if pd quits/crashes/etc, the
> xterm will disappear as well instantly and with it all maybe valuable
> debugging information...
>
It can be solved by starting a shell after pd is finished. I cant think of
any way to do that in a single-command line right now, but to make a
shellscript that starts pd first and starts a shell right after should
work. If he just run the following:

echo "#!/bin/sh" >/bin/pd
echo "/usr/local/bin/pd $@" >>/bin/pd
echo "bash" >>/bin/pd
chmod a+rx /bin/pd

I guess it should work.

-- 





More information about the Pd-list mailing list