打开配置文件:
gedit ~/.config/terminator/config
如果是刚安装可能没有这个文件,只需要随便更改一个配置就会自动生成这个文件(更改配置就是terminator界面右键preferences随便改一下)
把下面这段配置复制进去
[global_config]
title_font = Ubuntu Mono 11[keybindings]
[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"
show_titlebar = False
use_system_font = False
如果要让用户名看起来更明显,可以将其高亮显示:
gedit ~/.bashrc
修改如下:
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
# PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
PS1="\[\e[01;32;36m\]\u\[\e[37;33m\]@\h: \[\e[36;32m\]\w\[\e[0m\]\\$ " #改为这个
;;
*)
;;
esac
配置后效果如图: