Ubuntu系统入门教程-终端分屏软件Terminator
说明
本教程介绍如何在Ubuntu系统下安装和使用终端分屏软件-Terminator
测试环境: Ubuntu 1604 and Ubuntu 1804
软件安装
- 打开新终端,下载且安装Terminator
$ sudo add-apt-repository ppa:gnome-terminator
$ sudo apt-get update
$ sudo apt-get install terminator
- 打开新终端,输入terminator;或者使用快捷键
Ctrl+Shift+T
$ terminator
- terminator出现后,点击左边侧边栏图标将其固定在侧边栏上
常用快捷键
快捷键 | 含义 |
---|---|
Ctrl+Shift+E | 垂直分割终端 |
Ctrl+Shift+O | 水平分割终端 |
Ctrl+Shift+F | 搜索 |
Ctrl+Shift+C | 复制 |
Ctrl+Shift+V | 粘贴 |
Ctrl+Shift+W | 关闭当前终端 |
Ctrl+Shift+Q | 退出当前Terminator窗口 |
Ctrl+Shift+T | 打开新的标签页 |
Ctrl+Shift+I | 打开新的Terminator窗口 |
Ctrl+Shift+X | 切换只显示当前终端同时隐藏其他终端 |
Ctrl+Shift+G | 清屏 |
Ctrl+Shift+S | 隐藏/显示滚动条 |
Ctrl+Shift+PgUp/PgDn | 切换标签页 |
Shift+Ctrl+Tab | 切换到当前页面的下一个终端 |
Shift+PgUp/PgDn | 在当前终端里上下翻页 |
- 当创建多个终端且各个终端都凌乱分布时,使用
Shift+Super+鼠标双击
点击终端相隔的任一分隔栏就可以重新将各个终端规则整齐地分布
Shift+Super+double-click
Preferences Window
- Terminator支持自定义的主题风格布局,点击
鼠标右键
->Preference
进入到布局设置
具体细致的设置解释可以在文章末的参考资料上找到官方的说明
此处介绍一种直接修改Terminator的默认配置文件的配置主题的方法
$ vim ~/.config/terminator/config
//配置文件复制进去
以下是从网上找到的配置例子
主题示例1
[global_config]
handle_size = -3
enabled_plugins = CustomCommandsMenu, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
title_transmit_fg_color = "#000000"
suppress_multiple_term_dialog = True
title_transmit_bg_color = "#3e3838"
inactive_color_offset = 1.0
[keybindings]
[profiles]
[[default]]
palette = "#000000:#5a8e1c:#2d5f5f:#cdcd00:#1e90ff:#cd00cd:#00cdcd:#e5e5e5:#4c4c4c:#868e09:#00ff00:#ffff00:#4682b4:#ff00ff:#00ffff:#ffffff"
background_image = ""
background_darkness = 0.68
scrollback_lines = 3000
background_type = transparent
use_system_font = False
scroll_background = False
show_titlebar = False
cursor_shape = ibeam
font = Liberation Mono 12
background_color = "#0e2424"
foreground_color = "#e8e8e8"
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
profile = default
[[[window0]]]
type = Window
parent = ""
size = 925, 570
[plugins]
- 主题示例2
[plugins]
[profiles]
[[default]]
background_color = "#3f3f3f"
background_darkness = 0.92
background_type = transparent
copy_on_selection = True
cursor_color = "#dcdcdc"
foreground_color = "#dcdcdc"
palette = "#3f3f3f:#cc9393:#7f9f7f:#e3ceab:#dfaf8f:#cc9393:#8cd0d3:#dcdccc:#3f3f3f:#cc9393:#7f9f7f:#e3ceab:#dfaf8f:#cc9393:#8cd0d3:#dcdccc"
show_titlebar = False
[[Zenburn]]
background_color = "#3f3f3f"
background_type = transparent
copy_on_selection = True
cursor_color = "#73635a"
foreground_color = "#dcdccc"
palette = "#4d4d4d:#705050:#60b48a:#f0dfaf:#506070:#dc8cc3:#8cd0d3:#dcdccc:#709080:#dca3a3:#c3bf9f:#e0cf9f:#94bff3:#ec93d3:#93e0e3:#ffffff"
show_titlebar = False
参考资料
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号