Command Line – Maintain Terminal Session After Reboot

command lineguakescreen

I recently installed and started using guake terminal. I really enjoy the way it keeps terminal sessions active after closing the window, however whenever I reboot I have to rerun some of the tabs that I usually keep alive for programs such as irssi.

I would like to know if there is a way to either remember sessions after reboot, or to reopen tabs and rerun set commands.

For example, when I reboot guake will automatically create a new tab called irc which immediately runs screen irssi.

Best Answer

I don't think Guake can (currently) maintain sessions in the way you describe. But, if you execute the following commands, you can create the same tab every time:

guake --new-tab=irc
guake --select-tab=irc
guake --execute-command="screen irssi"

Repeat for every tab you want, replacing the tab name (irc) and the command ("screen irssi").

For more options like renaming tabs, making Guake open, and so on, see guake --help.