终结者屏幕默认位置

geo*_*opy 7 configuration layout terminator

我想强制终结者在屏幕左上角打开。当我保存布局时,我的窗口位置正确。然而,每当我在计算机重新启动时打开终结者时,窗口都位于顶部附近,距左侧约 1.5 英寸。

我一直在摆弄配置文件,但无法弄清楚“位置”参数。例如,在[[[child0]]]

position = 36:32
Run Code Online (Sandbox Code Playgroud)

并在下面[[[child1]]]

position = 834
Run Code Online (Sandbox Code Playgroud)

谁能解释一下如何自定义这些参数?

系统信息:

  • Ubuntu 17.10,内核4.13.0-43
  • 屏幕尺寸:1920x1080 像素,或 508x286 毫米
  • 终结者 v 1.91

终止符/配置:

[global_config]
  always_split_with_profile = True
  suppress_multiple_term_dialog = True
  title_transmit_bg_color = "#8ae234"
[keybindings]
[layouts]
  [[default]]
    [[[child0]]]
      fullscreen = False
      last_active_term = a69b1a79-eb9d-4c15-ac27-0502efc4c4f7
      last_active_window = True
      maximised = False
      order = 0
      parent = ""
      position = 36:32
      size = 808, 1014
      title = bp@bpenner: ~
      type = Window
    [[[child1]]]
      order = 0
      parent = child0
      position = 834
      ratio = 0.826560951437
      type = VPaned
    [[[terminal2]]]
      order = 0
      parent = child1
      profile = BP
      type = Terminal
      uuid = a69b1a79-eb9d-4c15-ac27-0502efc4c4f7
    [[[terminal3]]]
      order = 1
      parent = child1
      profile = BP
      type = Terminal
      uuid = 454d7873-3e55-49a4-af8c-6456f99d5e1e
[plugins]
[profiles]
  [[default]]
    cursor_color = "#aaaaaa"
Run Code Online (Sandbox Code Playgroud)

RBV*_*RBV 19

有几件事可以尝试。

以下对我有用:

  1. 打开终结者,然后根据需要调整其窗口的大小和位置。

  2. 在 Terminator 窗口的命令行区域中,右键单击,然后选择Preferences

  3. 布局选项卡中,展开类型/名称列表,选择Terminal1,然后单击保存

  4. 退出“首选项”对话框,然后关闭并重新打开“终结者”。

可以用来配置许多应用程序的显示属性的另一种方法是将--geometry=参数添加到应用程序的命令行。

  1. 在 shell 命令行中,键入man x以显示 X 窗口系统的手册页。

  2. 向下滚动至几何规格


小智 8

我相信您的配置文件缺少第一个 [[[window0]]] 条目,该条目位于我的默认设置中的 [[[child]]] 条目之前。

这是我的配置设置,其中第一个窗口从左上角位置 y=100 和 x=100 像素开始,其大小为 1000 X 700 像素。(请注意制作这些条目所需的不同格式)

[global_config]

[keybindings]
[profiles]
[[default]]
audible_bell = True
cursor_color = "#aaaaaa"
[layouts]
[[default]]
[[[window0]]]
  type = Window
  parent = ""
  size = 1000 , 700
  position = 100:100
[[[child1]]]
  type = Terminal
  parent = window0


[plugins]
Run Code Online (Sandbox Code Playgroud)

希望能帮助到你。