terminator安装+配置+快捷键

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/JDWell/article/details/83210854

配置结果展示:


安装:

sudo add-apt-repository ppa:gnome-terminator

sudo apt-get update

sudo apt-get install terminator

快捷键:

在Terminator窗口中添加的若干终端窗口该如何关闭呢?我们可以在每个终端窗口的命令行提示符后输入命令“exit”来关闭该窗口,也可以通过点击每个终端窗口的右键快捷菜单中的“close”项来关闭该终端窗口。

Ctrl+Shift+E 垂直分割窗口
Ctrl+Shift+O 水平分割窗口
F11 全屏
Ctrl+Shift+C 复制
Ctrl+Shift+V 粘贴
Ctrl+Shift+N 或者 Ctrl+Tab 在分割的各窗口之间切换
Ctrl+Shift+X 将分割的某一个窗口放大至全屏使用
Ctrl+Shift+Z 从放大至全屏的某一窗口回到多窗格界面


配置:

cd ~/.config/terminator/ && sudo gedit config

[global_config]
  title_transmit_bg_color = "#d30102"
  focus = system
  suppress_multiple_term_dialog = True
[keybindings]
[profiles]
  [[default]]
    palette = "#2d2d2d:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#d3d0c8:#747369:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#f2f0ec"
    background_color = "#2D2D2D" # 背景颜色
    background_image = None   
    background_darkness = 0.85 
    cursor_color = "#2D2D2D" # 光标颜色
    cursor_blink = True # 光标是否闪烁
    foreground_color = "#EEE9E9" # 文字的颜色
    use_system_font = False # 是否启用系统字体
    font = Ubuntu Mono 13  # 字体设置,后面的数字表示字体大小
    copy_on_selection = True # 选择文本时同时将数据拷贝到剪切板中
    show_titlebar = False # 不显示标题栏,也就是 terminator 中那个默认的红色的标题栏
[layouts]
  [[default]]
    [[[child1]]]
      type = Terminal
      parent = window0
      profile = default
    [[[window0]]]
      type = Window
      parent = ""
[plugins]

修改:

sudo gedit .bashrc #打开配置文件

找到如下,被注释掉的部分,用未注释的替换

PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$"

然后

source .bashrc

参考文章:ubuntu下Terminator终端的使用及配置https://blog.csdn.net/Tansir94/article/details/81410450

                   terminator 安装与配置https://blog.csdn.net/ipatient/article/details/51547658

猜你喜欢

转载自blog.csdn.net/JDWell/article/details/83210854