My ubuntu setup, has various shell-scripts that help me get my work done. Of which, many of the important ones, are persistent. I have a single shell, that does the “loading” of these various persistent shells.
However i would like it to be able to monitor all the various sub-shell. And to be able to recreate it, after it itself has closed / any sub-shell closes.
Making the whole thing fully automated.
Currently, each shell would have its own unique title : hence even a simple list of all opened gnome terminal titles would work… >.< problem is, getting that done.
Use:
to list all the windows managed by the window manager, or
to list all the gnome-terminals.
Check
man wmctrlfor more info.