我是靠谱客的博主 清新短靴,这篇文章主要介绍Ubuntu终端多窗口分屏Terminator,现在分享给大家,希望可以做个参考。

1、安装

Terminator最大的特点就是可以在一个窗口中打开多个终端

复制代码
1
sudo apt-get install terminator

2、快捷键

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

3、优化配置

初始界面不太美观 
修改配置文件

 

复制代码
1
sudo vim ~/.config/terminator/config

我的配置如下

复制代码
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
[global_config]   geometry_hinting = False   handle_size = 1   inactive_color_offset = 1.0   title_font = mry_KacstQurn Bold 11   title_hide_sizetext = True [keybindings] [layouts]   [[default]]     [[[child1]]]       parent = window0       profile = default       type = Terminal     [[[window0]]]       parent = ""       type = Window [plugins] [profiles]   [[default]]     background_darkness = 0.76     background_image = None     background_type = transparent     cursor_color = "#3036ec"     custom_command = tmux     font = Ubuntu Mono 13     foreground_color = "#ffffff"     login_shell = True     show_titlebar = False     use_system_font = False

5.更改 Ubuntu 默认终端工具

在 Ubuntu 系统中默认使用的终端工具是 gnome-terminal,而当我们安装完 Terminator 之后,Ubuntu 系统中默认采用的终端工具就变成了 Terminator,可以借助dconf-tools 工具来进行重新设置。

安装dconf-toolssudo

apt-get install dconf-tools

安装成功后,终端中输入命令 “dconf-editor” 来打开这个工具,然后从左边的的菜单栏中按照下面的步骤依次进入指定的菜单项:org > gnome > desktop > applications > terminal

此时,我们可以看到使用 Terminator 作为默认终端工具的配置为:

exec  x-terminal-emulatore

xec-arg -e

如果想使用 gnome-terminal 为默认终端工具的话,就将上面的配置更改为:

exec  gnome-terminal

exec-arg -x

保存退出之后,使用快捷键 “Ctrl + Alt + T” 启动一个终端时,这时启动起来的就是 gnome-terminal 工具了!
 

最后

以上就是清新短靴最近收集整理的关于Ubuntu终端多窗口分屏Terminator的全部内容,更多相关Ubuntu终端多窗口分屏Terminator内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(53)

评论列表共有 0 条评论

立即
投稿
返回
顶部