首页 > 技术文章 > Ubuntu 终端如何分割多个窗口

taotao0805 2020-08-07 18:45 原文

 

sudo apt-get install terminator

查看 ~/.config(隐藏文件夹 ctrl + h 即可看见) 下是否有 terminator 文件夹 如果没有手动创建一个

然后在terminator 文件夹下 创建config 文件,把下面内容粘进去即可

 

[global_config]

  enabled_plugins = CustomCommandsMenu, TestPlugin, ActivityWatch, TerminalShot, MavenPluginURLHandler

  inactive_color_offset = 1.0

  suppress_multiple_term_dialog = True

  window_state = maximise

[keybindings]

[layouts]

  [[default]]

    [[[child1]]]

      parent = main

      type = VPaned

    [[[child2]]]

      parent = main

      type = VPaned

    [[[command]]]

      parent = child1

      type = Terminal

    [[[command2]]]

      parent = child1

      profile = default

      type = Terminal

    [[[command3]]]

      parent = child2

      profile = default

      type = Terminal

    [[[command4]]]

      parent = child2

      profile = default

      type = Terminal

    [[[main]]]

      parent = window0

      profile = default

      type = HPaned

    [[[window0]]]

      parent = ""

      position = 170:0

      size = 1060, 700

      type = Window

[plugins]

[profiles]

  [[default]]

    background_color = "#002b36"

    background_darkness = 0.8

    background_image = None

    background_type = transparent

    copy_on_selection = True

    cursor_color = "#eee8d5"

    cursor_shape = ibeam

    font = Ubuntu Mono 13

    foreground_color = "#839496"

    login_shell = True

    scroll_on_output = False

    scrollback_lines = 50000

    show_titlebar = False

    urgent_bell = True

    use_system_font = False

  

推荐阅读