create shortcuts to separate terminal profiles?

Asked by squarepegg

hi there.

i have set up three different profiles within the gnome-terminal application. these three profiles each run a "ssh <email address hidden>" command upon launch. i understand that you can set a profile to be the default, however, i would like three separate shortcuts/icons, each linked to a different profile (i.e. each launching a different default profile) ..such that clicking on one will immediately ssh to one location and ask the corresponding password. it seems simple enough and yet it is evading me.

thanks in advance..

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew
Solved:
Last query:
Last reply:
Revision history for this message
Best Andrew (and471) said :
#1

Substitute PROFILENAME with the name of the profile you want:

gnome-terminal --window-with-profile=PROFILENAME

So just create a shortcut pointing to that command and it should work.

Hope this Helps

Revision history for this message
squarepegg (squarepegg) said :
#2

worked like a charm. thanks!

Revision history for this message
squarepegg (squarepegg) said :
#3

Thanks rugby471, that solved my question.