<div dir="ltr">It's working!  I went back and removed the logging from the crossover_3chan command (since it served its purpose), moved the order of the commands a little, and now it works.  Thanks for the help!!<div>John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 1, 2017 at 1:02 PM, john gibby <span dir="ltr"><<a href="mailto:johnalan.gibby@gmail.com" target="_blank">johnalan.gibby@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Some progress, but it's not working yet.  I added the log file as suggested, and it said something about TERM variable not being set.  I Googled that, and added a command like "export TERM xterm" to the QjactCtl startup script. That worked, and now:<div>1. the log file shows the normal output I should see when running crossover_3chan,</div><div>2. ps -aux shows the ecasound process running, under user name gibbyj,</div><div>3. I see what looks like a minimized Jack symbol on the far bottom right of my screen, which I don't think I saw before (I did check the box in QjactCtl to run it minimized.  Now I kinda wished I had not checked that box),</div><div>4. It is not quite working yet; I don't see the output I should see on hdspmixer, when I hit a note in Pianoteq, and</div><div>5. Strangely, I can't get QjackCtl to come out of minimized state anymore. Clicking on its icon does nothing.  The last command in the startup_utils script (/home...crossover_3chan) is now getting done; maybe it is causing Qjackctl to hang.  I see /usr/bin/qjackctl as process #3364 in ps -aux.</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 1, 2017 at 10:29 AM, Len Ovens <span dir="ltr"><<a href="mailto:len@ovenwerks.net" target="_blank">len@ovenwerks.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 1 Apr 2017, john gibby wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,I'm getting my Pianoteq app to run automatically when I start my computer.  So<span><br>
far, I'm using the startup script in QjackCtl to run the commands I need.  I have<br>
QjackCtl configured to startup automatically.  It's starting up and running the<br>
commands OK; I see the programs come up when I boot the computer.  But one thing<br>
is not working:  a shell script named crossover_3chan, that invokes the ecasound<br>
application, which I'm using for a 3 channel speaker crossover network.  This<br>
crossover_3chan script works fine when I run it manually, but for some reason,<br>
running it within the QjactCtl startup script is not working.  When I execute ps<br>
-aux and look at the processes, it's not there, until I run it manually.  Here is<br>
the QjactCtl startup script I'm using:<br>
<br>
#!/bin/sh<br>
sleep 2<br>
/usr/bin/a2jmidid -e &<br>
sleep 2<br>
/usr/bin/aloop-daemon &<br>
sleep 2<br>
export LADSPA_PATH=/usr/local/lib/lad<wbr>spa:/usr/lib/ladspa<br>
sleep 2<br>
hdspmixer &<br>
sleep 2<br>
"/home/gibbyj/Pianoteq/Pianote<wbr>q 5/i386/Pianoteq 5" &<br>
sleep 4<br>
crossover_3chan &<br>
</span></blockquote>
<br>
you might try:<br>
 . crossover_3chan<br>
<br>
Assuming the script does not block.... and maybe even if it does.<br>
<br>
I am assuming that these scripts of yours are chmod +x already.<br>
<br>
<br>
--<br>
Len Ovens<br>
<a href="http://www.ovenwerks.net" rel="noreferrer" target="_blank">www.ovenwerks.net</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>