一、安装命令
添加仓库/软件源
如显示禁用该源,尝试直接第3步进行安装。
sudo add-apt-repository ppa:gnome-terminator
更新源
sudoapt update
安装 terminator
sudoaptinstall terminator
二、快捷键
快捷键作用Ctrl + Shift + O水平分割终端(分成上下两个窗口)Ctrl + Shift + E垂直分割终端(分成左右两个窗口)Ctrl + Shift + W关闭当前终端Ctrl + Shift + X放大(还原)当前终端Ctrl + Shift + G清屏Ctrl + Shift + Right/Left在垂直分割的终端中将分割条向右/左移动Ctrl + Shift + S隐藏/显示滚动条Ctrl + Shift + Q关闭所有终端(退出程序)Ctrl + Shift + T开一个新终端F11全屏
三、配置
初始界面
通过修改配置文件美化窗口。
在终端输入以下命令:
cd ~/.config/terminator/
sudo gedit config
按照上面的步骤找到 config,进行编辑。
下边是例子:
[global_config]
handle_size = -3
title_transmit_fg_color ="#000000"
title_transmit_bg_color ="#3e3838"
inactive_color_offset =1.0
enabled_plugins = CustomCommandsMenu, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
suppress_multiple_term_dialog = True
[keybindings][profiles][[default]]
background_color ="#373737"#背景颜色
background_darkness =0.8
background_type = transparent
cursor_shape = ibeam
cursor_color ="#e8e8e8"# 光标颜色
font = Ubuntu Mono 14# 字体设置,后面的数字表示字体大小
foreground_color ="#e8e8e8"
show_titlebar = False # 不显示标题栏,也就是 terminator 中那个默认的红色的标题栏
scroll_background = False
scrollback_lines =3000
palette ="#292424:#5a8e1c:#00ff00:#cdcd00:#1e90ff:#cd00cd:#00cdcd:#d6d9d4:#4c4c4c:#868e09:#00ff00:#ffff00:#4682b4:#ff00ff:#00ffff:#ffffff"
use_system_font = False #是否启用系统字体[layouts][[default]][[[child1]]]
parent = window0
profile = default
type= Terminal
[[[window0]]]
parent =""
size =925, 570type= Window
[plugins]
上边这个是网上找的,下边配置这个是本人自用的
[global_config]
focus = system
title_transmit_bg_color ="#d30102"
suppress_multiple_term_dialog = True
[keybindings][profiles][[default]]
background_color ="#2e3436"
background_darkness =0.9
cursor_color ="#2D2D2D"
font = Ubuntu Mono 13
foreground_color ="#8ae234"
show_titlebar = False
scrollback_infinite = True
palette ="#2d2d2d:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#d3d0c8:#747369:#f2777a:#99cc99:#ffcc66:#6699cc:#cc99cc:#66cccc:#f2f0ec"
use_system_font = False
copy_on_selection = True
[layouts][[default]][[[child1]]]type= Terminal
parent = window0
profile = default
[[[window0]]]type= Window
parent =""[plugins]
版权归原作者 wanttifa 所有, 如有侵权,请联系我们删除。