terminator安装与配置

转自 http://blog.csdn.net/liuxiaoheng1992/article/details/54409711

http://blog.csdn.net/xungjhj/article/details/69377812

http://blog.csdn.net/u011762313/article/details/53151543

ctrl+alt+t 打开终端

运行命令

sudo apt-get install terminator
  • 1
  • 1

安装终端程序terminator,安装完毕后按ctrl+alt+t打开终端如下图所示 
terminator安装与配置_第1张图片

这个终端程序可以分屏,常用操作快捷键如下:

Ctrl+Shift+O
    Split terminals Horizontally.(上下开新窗口)
Ctrl+Shift+E
    Split terminals Vertically.(垂直开新窗口)
Ctrl+Shift+Right
    Move parent dragbar Right.(放大当前窗口 向右)
Ctrl+Shift+Left
    Move parent dragbar Left.
Ctrl+Shift+Up
    Move parent dragbar Up.
Ctrl+Shift+Down
    Move parent dragbar Down.
Ctrl+Shift+W
    Close the current terminal.
Alt+Up
    Move to the terminal above the current one.(切换当前窗口)
Alt+Down
    Move to the terminal below the current one.
Alt+Left
    Move to the terminal left of the current one.
Alt+Right
    Move to the terminal right of the current one.
Ctrl+Shift+S
    Hide/Show Scrollbar.(隐藏滚动条)
Ctrl+Shift+F
    Search within terminal scrollback
Ctrl+Shift+N or Ctrl+Tab
    Move to next terminal within the same tab, use Ctrl+PageDown to move to the next tab. If cycle_term_tab is False, cycle within the same tab will be disabled
Ctrl+Shift+P or Ctrl+Shift+Tab
    Move to previous terminal within the same tab, use Ctrl+PageUp to move to the previous tab. If cycle_term_tab is False, cycle within the same tab will be disabled
Ctrl+Shift+C
    Copy selected text to clipboard
Ctrl+Shift+V
    Paste clipboard text
Ctrl+Shift+Q
    Quits Terminator
Ctrl+Shift+X (最大化当前窗口)
    Toggle between showing all terminals and only showing the current one (maximise).
Ctrl+Shift+Z
    Toggle between showing all terminals and only showing a scaled version of the current one (zoom).
Ctrl+Shift+T
    Open new tab
Ctrl+Shift+Alt+T
    Open new tab at root level, if using extreme_tabs.
Ctrl+PageDown
    Move to next Tab
Ctrl+PageUp
    Move to previous Tab
Ctrl+Shift+PageDown
    Swap tab position with next Tab
Ctrl+Shift+PageUp
    Swap tab position with previous Tab
Ctrl+Shift+F
    Open buffer search bar to find substrings in the scrollback buffer. Hit Escape to cancel.
Ctrl+Plus (+)
    Increase font size. Note: this may require you to press shift, depending on your keyboard
Ctrl+Minus (-)
    Decrease font size. Note: this may require you to press shift, depending on your keyboard
Ctrl+Zero (0)
    Restore font size to original setting.
F11
    Toggle fullscreen(放大当前窗口)
Ctrl+Shift+R
    Reset terminal state
Ctrl+Shift+G
    Reset terminal state and clear window
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

因为初始化界面不太美观,可以设置配置文件,方法如下:

cd ~/.config/terminator/ 
sudo vim config
  • 1
  • 2
  • 1
  • 2

如果报错,Unable to open ~/.config/terminator/config ,解决方法: 
打开terminator终端,然后右击终端的黑色背景,选择preference->layouts->add,关闭该窗口即可找到config文件。

修改配置文件,我的配置文件如下:

http://blog.csdn.net/ipatient/article/details/51547658

[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]
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

最后效果如下: 
terminator安装与配置_第2张图片

设置terminator为默认终端:

1、安装Terminator

sudo apt-get install terminator
  • 1
  • 1

2、安装dconf-tools

sudo apt-get install dconf-tools
  • 1
  • 1

3、设置Terminator为默认Terminal

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





你可能感兴趣的:(linux开发环境)