I was wondering does anyone know a way to make some kind of shortcut under Ubuntu that when I click on it, it will open up multiple SSH sessions (or execute other actions) in a tabbed gnome-terminal?
I think I have just about worked this out now.
gnome-terminal --tab -t htop -e htop --tab -t top -e top --maximize
Will open up a new tabbed gnome terminal with htop running in the first window and top in the second for this example.
To create the shortcut I just made a simple bash program to run the command.
#!/bin/bash gnome-terminal --tab -t htop -e htop --tab -t top -e top --maximize
Marking it as executable. Then it works by double clicking it. The only annoying thing about this is that it asks
Do you want to run "Terminal Session", or display its contents?
Is there someway to disable this?