Pablo Fernandez wrote:
>
>     This script calls the command line tools jack_connect and aconnect to
>     make JACK audio and ALSA MIDI connections, respectively.
>
>
> Also, you may find this writing useful:
>
> http://digitaldub.wordpress.com/2009/12/16/linux-audio-session-scripting/
>
> Cheers! Pablo

'kill script
It is handy to have a little kill script for terminating the session. An 
example:

#!/bin/bash
echo === attentione ===
echo "really quit? you have 3 seconds..."
sleep 3
echo "...killing session..."
killall -w seq24
killall -w yoshimi
killall -w ardour-2.8.4
echo "...session dead."'

IMO it's useful to start the script that will restore your session with 
a killall command. I experienced that 'killall -9 -w application_name' 
is needed. I guess instead of the '-9' you also could write '-SIGKILL', 
I never tested it. But by default kill all does a 
http://en.wikipedia.org/wiki/SIGTERM instead of a 
http://en.wikipedia.org/wiki/SIGKILL.
_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to