[LAU] Linux automatic startup question

john gibby johnalan.gibby at gmail.com
Sat Apr 1 09:20:08 UTC 2017


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 &


I've tried various ways of invoking the crossover_3chan shell script.
Currently, I have put the script into /usr/local/bin, which is why there's
no path in front of the name, above.  But I also tried something like
"/home/gibbyj/Downloads/crossover_3chan" & in the startup script, which
didn't work either.

Would it help if I make this shell script an "application", giving it a
name, like Pianoteq and the other applications?  I've tried to figure out
how to do that, in AVL/Debian, but am still not sure how.
Thanks very much for someone's help!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20170401/c6d89cd5/attachment.html>


More information about the Linux-audio-user mailing list