When I'm developing software I normally have one terminal with various tabs open running different things, as an example one of them is running foo
whilst the other running boo
This is fine until I power down my PC and the layout is lost. This leads me to have a daily fumble around as I try to get to get everything setup. Is there a way to automate this?
Best Answer
Yes, there is a way to automate it via
-t
and-e
flags tognome-terminal
.For instance, here's a script I've used quite recently for this question:
What happens there is that there will be launched
gnome-terminal
window with two tabs , and each will run its own command. The rest is simple - open Startup Applications and add that script as one of the commands to be launched upon logging-in. Remember to make the script executable and give full path to script as a command.