set terminal focus on startup

Asked by Bob

I've been using Terminator for a few weeks now, and I've dug around a bit to find an answer for this with no luck.

It would be nice if you could specify in a profile that Terminator would start with focus on a specific terminal window. My profile has three, and it always starts on the third terminal window, which is the lower right one. I'd really like it to start with focus on the first one (upper left).

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Boddy (stephen-j-boddy) said :
#1

Hi Bob. You don't say which version you are using. I know for a fact that I did a bunch of work making *Layouts* (not Profiles), windows and tabs remember the active terminal at both runtime and on reopening a saved Layout. This info is only saved when you save a new Layout.

If you already have config, and don't want to recreate Layouts, you can alternatively add something like:
last_active_term = a59a178a-6fd9-4e99-96dd-cf642c88c23e
to a Window child type, replacing the uuid with one of the windows child terminals.

If you have tabs, something like the following:
last_active_term = 96677f31-33a5-4d14-8ba7-288cda0b96a6, 296e9ca8-f3eb-47e0-bc31-fe9116cc4cb6, 8a5aa3b2-d46f-4c40-a2b1-f77f433783da
is added to the Notebook child type, one per tab.

Can you help with this problem?

Provide an answer of your own, or ask Bob for more information if necessary.

To post a message you must log in.