Is it possible to obtain the current name of the xterm window?
This LDP Howto demonstrates how to change the title of an xterm.
I know that this is also possible using the `xtitle` command.
Before invoking a long-running action, my script uses such techniques to change the title of its xterm window.
I would like to extract the name of the xterm window prior to changing it so that, once the long-running action is completed, I can restore the title to its previous value.
It would sort of be an inverse to xtitle... Is this even possible?
Use `xtitle` script.
There are many variants on internet, however, I tend to use one which depends on `xprop`