首先安装 terminator
apt-get install terminator
因为初始界面不太美观,可以设置一下配置文件,方法如下:
mkdir ~/.config/terminator/
nano ~/.config/terminator/config
我当前使用的配置如下:
[global_config]
always_split_with_profile = True
title_font = Ubuntu Mono 16
window_state = maximise
[keybindings]
close_term = <Primary>BackSpace
split_horiz = <Primary>Down
split_vert = <Primary>Right
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
background_image = None
cursor_color = "#ffffff"
cursor_shape = ibeam
font = Ubuntu Mono 13
foreground_color = "#ffffff"
scrollback_lines = 50000
show_titlebar = False
use_system_font = False
设置默认为默认终端
# 设置为默认终端
gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"
# 取消设置
gsettings reset org.gnome.desktop.default-applications.terminal exec
gsettings reset org.gnome.desktop.default-applications.terminal exec-arg
如果 terminator 打不开,可以使用以下方法
nano /usr/bin/terminator
# 将第一行的 /usr/bin/python
# 改为 /usr/bin/python2
标签:bin,default,desktop,terminal,terminator,ubuntu,org,美化
From: https://www.cnblogs.com/infinite-ryvius/p/18161825