Monday, May 6, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2499  / 1 Year ago, mon, march 6, 2023, 10:12:53

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.


More From » command-line

 Answers
3

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.


[#40735] Wednesday, March 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
deringach

Total Points: 412
Total Questions: 107
Total Answers: 101

Location: Palestine
Member since Tue, Jul 20, 2021
3 Years ago
deringach questions
Sat, Oct 30, 21, 17:38, 3 Years ago
Fri, Oct 21, 22, 16:34, 2 Years ago
Tue, Feb 15, 22, 22:33, 2 Years ago
Tue, Feb 7, 23, 03:57, 1 Year ago
;