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

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

 



On Sat, 2004-03-13 at 08:59, Paul Winkler wrote:
> On Sat, Mar 13, 2004 at 08:10:26AM -0800, Russell Hanaghan wrote:
> > On Sat, 2004-03-13 at 04: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
> > 
> > In doing this...(I went to work on figuring some of this out and
> > realised a shell script is kinda like a batch file on steroids)
> 
> Exactly.
> 
> > If I
> > placed Qjackctl then Another app like AMS in the same script, the
> > interface for Qjack would freeze until I terminated AMS. Is there a
> > function argument or such that separates individual app calls?
> 
> Run them in the background like so:
> 
> #!/bin/sh
> 
> qjackctl &
> ardour &
> hydrogen &
> ams &

Got it!   You guys are great!

Thanks


>  
> > > 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.
> 
> Yep. I'd really really love LASH / LADDCA / whatever to become
> as ubiquitous as JACK.


[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