2

I have saved a few Terminator profiles with different colors etc. How is it possible to activate a specific profile from the command line, or initially run terminator with a specific profile?

The main goal is to be able to activate profile "Prod" when we ssh to production, and "Stage" when we ssh to the staging-environment. So if there is such a terminator option then an alias can run the ssh command and then change the profile adequately.

2
  • A partial answer can be found here: link Commented Dec 6, 2016 at 6:20
  • Cross-posted as per the link in the comment. Commented Aug 25, 2019 at 23:23

3 Answers 3

3

Use the command

terminator -p <profile_name> &

to start Terminator with the desired profile.

(The & is to run Terminator in the background so it doesn't block the shell.)

2

It is possible to open a new tab with a different profile:

terminator --new-tab -p profile_name

I think there is no way to change the profile of the currently active window or tab.

1
  • 1
    It also changes the default profile to be the profile_name, so every new tab will be executed under the profile_name profile until Terminator is closed. Frankly, I don't understand the logic behind Terminator's profile handling. To me, it's a weird and unintuitive UX. And, according to other questions, I'm not alone. Commented Aug 19, 2023 at 14:07
0

There's also this Terminator plugin that watches for the hostname and applies profiles accordingly. It hasn't been touched for a while, so I can't say whether it works or not.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.