Well, it's easy for your desktop because so much
of the work has already
been done. There's an X11 extension that specifically implements session
management. This provides a fully functional session management
implementation for things like Gnome and KDE to look at and use.
Check the manpage for xsm for some details - I'm aware of this stuff but
don't really know how to use it. smproxy lets you session apps that don't
support the X11R6 Session Management Protocol.
You should be able to hack something basic together with this stuff - ie,
have a "Recording" session that loads up jack, ardour, jack-rack, etc.
Yep.. the most simple way I can think of is to have a terminal app from
which you type in the path of the audio apps to launch, and then specify
the audio and midi connections. It then creates a bash script to
automatically launch the same setup for you in the future. Good if you use
the same set of apps linked in the same way. I would be able to write this
myself, I think, using jack_connect and aconnect.
I like the idea of it happening automatically, but this is really beyond
my powers at present! I will have a look at the stuff you suggested though.
Unfortuantely, the deficiency of apps to save their
own state is sort of
outside the scope - you'll still need to load the jack-rack plugins you
want.
Yes. I realise this. I think the apps need to give some info about state
on shutdown, and allow command-line loading of patches to work with this
system.
James