[linux-audio-user] Start up script for DAW ...
Emiliano Grilli
emiliano.grilli at poste.it
Sat Mar 13 07:27:36 EST 2004
venerdì, 12 marzo 2004 alle 20:09:14, Russell Hanaghan ha scritto:
> I start the gui based apps from a console so I can run them as root. The
> functions such as the midi port connections in the sequence of opening
> apps is the issue. I'm also green in this area. Have never written any
> scripts before...wouldn't know where to start.
You have just to create a text file with this as the first line:
#!/bin/bash
and then put all the commands as if you were write them in the console. thn
save the file and give it the execute permission:
$ chmod +x myscript.sh
So you can launch it as "./myscript.sh"
For automating MIDI connections you should use "aconnect" (man aconnect for
details) which is a text based program. You can use "aconnect -lio" to
find out what are the MIDI port names on your system (after all
the apps you need are started, in the correct order).
> R
HTH ciao
--
Emiliano Grilli
Linux user #209089
http://www.emillo.net
More information about the Linux-audio-user
mailing list