terminator安装与配置

发布时间:2025-12-09 16:23:35 浏览次数:17

转自 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打开终端如下图所示 

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

Ctrl+Shift+OSplit terminals Horizontally.(上下开新窗口)Ctrl+Shift+ESplit terminals Vertically.(垂直开新窗口)Ctrl+Shift+RightMove parent dragbar Right.(放大当前窗口 向右)Ctrl+Shift+LeftMove parent dragbar Left.Ctrl+Shift+UpMove parent dragbar Up.Ctrl+Shift+DownMove parent dragbar Down.Ctrl+Shift+WClose the current terminal.Alt+UpMove to the terminal above the current one.(切换当前窗口)Alt+DownMove to the terminal below the current one.Alt+LeftMove to the terminal left of the current one.Alt+RightMove to the terminal right of the current one.Ctrl+Shift+SHide/Show Scrollbar.(隐藏滚动条)Ctrl+Shift+FSearch within terminal scrollbackCtrl+Shift+N or Ctrl+TabMove 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 disabledCtrl+Shift+P or Ctrl+Shift+TabMove 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 disabledCtrl+Shift+CCopy selected text to clipboardCtrl+Shift+VPaste clipboard textCtrl+Shift+QQuits TerminatorCtrl+Shift+X (最大化当前窗口)Toggle between showing all terminals and only showing the current one (maximise).Ctrl+Shift+ZToggle between showing all terminals and only showing a scaled version of the current one (zoom).Ctrl+Shift+TOpen new tabCtrl+Shift+Alt+TOpen new tab at root level, if using extreme_tabs.Ctrl+PageDownMove to next TabCtrl+PageUpMove to previous TabCtrl+Shift+PageDownSwap tab position with next TabCtrl+Shift+PageUpSwap tab position with previous TabCtrl+Shift+FOpen 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 keyboardCtrl+Minus (-)Decrease font size. Note: this may require you to press shift, depending on your keyboardCtrl+Zero (0)Restore font size to original setting.F11Toggle fullscreen(放大当前窗口)Ctrl+Shift+RReset terminal stateCtrl+Shift+GReset 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 = systemsuppress_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" # 背景颜**ackground_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 = Terminalparent = window0profile = default[[[window0]]]type = Windowparent = ""[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为默认终端:

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/terminatorgsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"





需要做网站?需要网络推广?欢迎咨询客户经理 13272073477