Re: [LAU] Linux automatic startup question

From: Len Ovens <len@email-addr-hidden>
Date: Sat Apr 01 2017 - 17:29:28 EEST

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

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

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