有没有办法从命令行更改当前 Terminator window 中的布局?
Is there a way to change layout in current Terminator window from the command line?
我在 Linux Mint 18 上使用 Terminator。
我是 运行 Terminator window 中的一个 bash 脚本,在某些时候,我想以编程方式将当前的 Terminator 布局更改为其他内容。
我注意到您可以使用已设置的布局调用新实例,使用:
terminator --layout=TheLayoutName
但是是否有命令可以传递给 current Terminator 实例以更改其布局?
我开始使用 xdotool
将 keybindings 发送到改变其布局的终结者。
例如,运行终结者中的这个window:
xdotool key ctrl+shift+E
水平分割屏幕。
我在 Linux Mint 18 上使用 Terminator。
我是 运行 Terminator window 中的一个 bash 脚本,在某些时候,我想以编程方式将当前的 Terminator 布局更改为其他内容。
我注意到您可以使用已设置的布局调用新实例,使用:
terminator --layout=TheLayoutName
但是是否有命令可以传递给 current Terminator 实例以更改其布局?
我开始使用 xdotool
将 keybindings 发送到改变其布局的终结者。
例如,运行终结者中的这个window:
xdotool key ctrl+shift+E
水平分割屏幕。