[LAU] Linux automatic startup question

From: john gibby <johnalan.gibby@email-addr-hidden>
Date: Sat Apr 01 2017 - 12:20:08 EEST

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

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat Apr 1 12:15:01 2017

This archive was generated by hypermail 2.1.8 : Sat Apr 01 2017 - 12:15:01 EEST