[linux-audio-user] Start up script for DAW ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



One other thing.  If you have an app that reads input other than on the
command line you can do that by redirecting from the shell script
thusly:

application <<EOF
input line 1
input line 2
input line 3
.
.
.
input line N
EOF

You don't have to use EOF either.  You can use any unique string.


Jan


On Sat, 2004-03-13 at 06:20, Steve Harris wrote:
> On Fri, Mar 12, 2004 at 08:09:14 -0800, Russell Hanaghan wrote:
> > 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.
> 
> A shell script is simply a text file starting with #!, and made executable
> by setting the x bit (eg. chmod a+x myscript.sh)
> 
> eg.
> 
> #!
> ardour mysession
> otherprogram /path/to/saved/file
> 
> Last time I look though I couldn't find a way to pass a saved file to AMS,
> thats was a while ago, and someonme might have fixed it since then.
> 
> LASH (n?e LADCCA) is probably a better longtem solution to this problem
> (http://lash-audio-session-handler.org/), but not many apps support it
> yet.
> 
> - Steve




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux