On Sat, 1 Apr 2017, john gibby wrote:
Hi,I'm getting my Pianoteq app to run
automatically when I start my computer. So
far, I'm using the startup script in QjackCtl to run the commands I need. I have
QjackCtl configured to startup automatically. It's starting up and running the
commands OK; I see the programs come up when I boot the computer. But one thing
is not working: a shell script named crossover_3chan, that invokes the ecasound
application, which I'm using for a 3 channel speaker crossover network. This
crossover_3chan script works fine when I run it manually, but for some reason,
running it within the QjactCtl startup script is not working. When I execute ps
-aux and look at the processes, it's not there, until I run it manually. Here is
the QjactCtl startup script I'm using:
#!/bin/sh
sleep 2
/usr/bin/a2jmidid -e &
sleep 2
/usr/bin/aloop-daemon &
sleep 2
export LADSPA_PATH=/usr/local/lib/ladspa:/usr/lib/ladspa
sleep 2
hdspmixer &
sleep 2
"/home/gibbyj/Pianoteq/Pianoteq 5/i386/Pianoteq 5" &
sleep 4
crossover_3chan &
you might try:
. crossover_3chan
Assuming the script does not block.... and maybe even if it does.
I am assuming that these scripts of yours are chmod +x already.
--
Len Ovens
www.ovenwerks.net