终端显示英文提示,桌面环境显示中文
$ sudo vim /etc/profile
if [ "$TERM"="linux" ] ;then
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
fi
或者
sudo vim .bashrc
#
if [ -z "$DISPLAY" ]; then
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
fi
#