bashterminator

Is there a way to change layout in current Terminator window from the command line?


I'm using Terminator on Linux Mint 18.

I'm running a bash script in a Terminator window and at some point in there, I would like to change the current Terminator layout programatically to something else.

I notice you can invoke a new instance with a layout already set, using:

terminator --layout=TheLayoutName

But is there a command you can pass to the current instance of Terminator to change its layout?


Solution

  • I got a start with xdotool to send keybindings to Terminator that alter its layout.

    For example, running this in a Terminator window:

    xdotool key ctrl+shift+E to split the screen horizontally.