如何设置终结者选项卡标题的格式?

如何设置终结者选项卡标题的格式?

我找不到任何如何设置终结者选项卡标题格式的方法。这可能与它的配置有关,~/.config/terminator/config但具体是怎样的呢?

我想缩短它的标题。

答案1

在Terminator配置中的终端定义下添加“title”,在示例中查看terminal1下的title:

[global_config]
[keybindings]
[layouts]
  [[test]]
    [[[child0]]]
      fullscreen = False
      last_active_term = 0630e644-7c41-4da8-8fbd-85e36b825ab2
      last_active_window = True
      maximised = True
      order = 0
      parent = ""
      position = 0:0
      size = 1920, 1147
      title = "Look a window title"
      type = Window
    [[[terminal1]]]
      title = "Look a terminal tab title"
      order = 0
      parent = child0
      profile = default
      type = Terminal
      uuid = 0630e644-7c41-4da8-8fbd-85e36b825ab2

相关内容