我希望保存分割不均匀的终结器配置。我可以手动调整分割大小并保存,但当我重新启动终结器时,它会恢复为 50-50 分割。这是我尝试默认实现的。
终结者 1.91 版
有支持这样的事吗?
这是生成的配置文件:
[global_config]
suppress_multiple_term_dialog = True
[keybindings]
close_window = <Primary><Shift>q
[layouts]
[[default]]
[[[child0]]]
fullscreen = False
last_active_term = 56328407-5fe2-48df-87dd-6295c2031e48
last_active_window = True
maximised = True
order = 0
parent = ""
position = 67:27
size = 1853, 1145
title = joe@ubuntuvm: ~
type = Window
[[[child1]]]
order = 0
parent = child0
position = 922
ratio = 0.498917748918
type = HPaned
[[[child3]]]
order = 1
parent = child1
position = 569
ratio = 0.499122807018
type = VPaned
[[[terminal2]]]
order = 0
parent = child1
profile = default
type = Terminal
uuid = 56328407-5fe2-48df-87dd-6295c2031e48
[[[terminal4]]]
order = 0
parent = child3
profile = default
type = Terminal
uuid = fa4d9c58-de5a-43d1-bb97-6277fb6368b5
[[[terminal5]]]
order = 1
parent = child3
profile = default
type = Terminal
uuid = 10b03cb2-2a83-48a2-8433-4d7d7ac274ec
[[test]]
[[[child0]]]
fullscreen = False
last_active_term = 56328407-5fe2-48df-87dd-6295c2031e48
last_active_window = False
maximised = True
order = 0
parent = ""
position = 67:27
size = 1853, 1145
title = joe@ubuntuvm: ~
type = Window
[[[child1]]]
order = 0
parent = child0
position = 946
ratio = 0.829824561404
type = VPaned
[[[terminal2]]]
order = 0
parent = child1
profile = default
type = Terminal
uuid = fa4d9c58-de5a-43d1-bb97-6277fb6368b5
[[[terminal3]]]
order = 1
parent = child1
profile = default
type = Terminal
uuid = 10b03cb2-2a83-48a2-8433-4d7d7ac274ec
[plugins]
[profiles]
[[default]]
cursor_color = "#aaaaaa"
palette = "#000000:#cc0000:#4e9a06:#c4a
答案1
在布局设置中单击“类型”->“窗口”->“终端”,然后选择要与此布局链接的配置文件。
您还可以使用:
terminator --layout 自定义名称
以特定的布局运行终结器。
或者
终结者-s
获取选择框,以便您可以选择特定的布局。
使用这些命令,您还可以在 Ubuntu 键盘设置中添加键盘快捷键。