在Ubuntu系統(tǒng)上,終端是高頻率操作的軟件昔脯,因此選對一款終端軟件還是很有必要的瑟捣。雖然原生gnome還是-terminal已經(jīng)很好了馋艺,無論從配色還是快捷鍵,但是有一個(gè)致命的缺陷就是不能分屏迈套。曾經(jīng)嘗試用tmux來模擬分屏捐祠,但是不是很順手,有時(shí)間還有bug桑李,導(dǎo)致一屏的內(nèi)容顯示在另一屏中,最后選擇了terminator踱蛀。雖然默認(rèn)的terminator顯示很丑陋,但是莫慌贵白,我們來美化它率拒。
安裝
使用apt包管理工具輕松安裝
sudo apt-get install terminator
美化
修改或者創(chuàng)建.config/terminator/config文件,添加如下配置
[global_config]
title_font = Ubuntu Mono 11[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_color = "#002b36"
background_darkness = 0.91
background_image = None
background_type = transparent
font = Ubuntu Mono 11
foreground_color = "#e0f0f1"
use_system_font = False
show_titlebar = False
其實(shí)這些配置都在界面中可以調(diào)節(jié)禁荒,窗口右鍵->首選項(xiàng)->profiles->colors猬膨,
pic1.jpg
2.jpg
修改默認(rèn)終端工具
- 安裝dconfig-editor
sudo apt-get install dconf-tools
安裝成功后,就可以在終端中通過命令 dconf-editor來打開這個(gè)工具呛伴,然后從左邊的的菜單欄中按照下面的步驟依次進(jìn)入指定的菜單項(xiàng):
org > gnome > desktop > applications > terminal
此時(shí)勃痴,我們可以看到使用 Terminator 作為默認(rèn)終端工具的配置為:
exec terminator
exec-arg -e
如果想使用 gnome-terminal 為默認(rèn)終端工具的話,就將上面的配置更改為:
exec gnome-terminal
exec-arg -x
保存退出之后热康,使用快捷鍵 “Ctrl + Alt + T” 啟動(dòng)一個(gè)終端時(shí)沛申,這時(shí)啟動(dòng)起來的就是 gnome-terminal 工具了!