Terminator 命令行终端

安装

sudo add-apt-repository ppa:gnome-terminator/ppa -y
sudo apt update
sudo apt install terminator

设置为默认

gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"

配置

vi ~/.config/terminator/config

[global_config]
  geometry_hinting = True
  sticky = True
  title_hide_sizetext = True
  suppress_multiple_term_dialog = True
  always_split_with_profile = True
  extra_styling = False
  title_use_system_font = False
  tab_position = hidden
  broadcast_default = off
  inactive_color_offset = 0.5
  title_font = Hack Nerd Font 9
[keybindings]
[profiles]
  [[default]]
    icon_bell = False
    show_titlebar = False
    background_color = "#380c2a"
    background_darkness = 0.8
    background_type = transparent
    cursor_shape = ibeam
    cursor_color = "#aaaaaa"
    font = Hack Nerd Font 9
    foreground_color = "#ffffff"
    scrollbar_position = hidden
    scrollback_infinite = True
    palette = "#000000:#cc0000:#4e9a06:#c4a000:#3465a4:#75507b:#06989a:#d3d7cf:#555753:#ef2929:#8ae234:#fce94f:#729fcf:#ad7fa8:#34e2e2:#eeeeec"
    login_shell = True
    use_system_font = False
    copy_on_selection = True
[layouts]
  [[default]]
    [[[child0]]]
      type = Window
      parent = ""
      order = 0
      position = 44:27
      maximised = False
      fullscreen = False
      size = 1920, 1080
      last_active_window = True
    [[[child1]]]
      type = HPaned
      parent = child0
      order = 0
      position = 936
    [[[child2]]]
      type = VPaned
      parent = child1
      order = 0
      position = 506
    [[[terminal1]]]
      type = Terminal
      parent = child2
      order = 0
      profile = default
      command = cd ~;bash
    [[[terminal2]]]
      type = Terminal
      parent = child2
      order = 1
      profile = default
      command = cd ~/Downloads;bash
    [[[child3]]]
      type = VPaned
      parent = child1
      order = 1
      position = 506
    [[[terminal3]]]
      type = Terminal
      parent = child3
      order = 0
      profile = default
      command = cd ~/Documents;bash
    [[[terminal4]]]
      type = Terminal
      parent = child3
      order = 1
      profile = default
      command = cd ~/Desktop;bash
  • 6
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值