feature request: window arrangement on startup and keybinding

Asked by Wladimir

1) I asked myself if it is possible to start terminator with a predefined number of windows. I was thinking about something like this:

terminator -H 192.168.10.11,192.168.10.12,192.168.10.13,192.168.10.14

terminator would then open one maximized windows splittet into four windows and put one IP in each of one.

Is anything like this already possible?
(Of course, this could also be scripted with an little wrapper script that generates the corresponding layout config section.
But I think it is not that nice adding and removing sections in config permanently. Can terminator include further config files?)

2) Further more it would be great if you could change two vertically splitted windows via keybinding to two horizontally splittet windows. Is this possible?

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
jgjoy (freyjoy) said :
#1

Have you tried working with the `-l` option (also `--layout=LAYOUT`)?
You can create and a layout which you can select from the command line on startup.

Revision history for this message
Wladimir (gufi) said :
#2

Yes I already tried the -l parameter. But my goal was not to predefine many different layouts. I wanted to to open the count of windows dynamically, depending on the count of hosts you add to the terminator command.

I think I will write a little wrapper script which generates the corresponding layout config with optional custom command to execute in each window. I'm not sure how to implement that an additional config file is included in ~/.config/terminator/config file.

Can you help with this problem?

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

To post a message you must log in.