[Others] tty2中文全是方块,怎么改英文?
Tofloor
poster avatar
孤岛悬城
deepin
2021-05-04 07:49
Author

tty2中文全是方块,怎么改英文?

Reply Favorite View the author
All Replies
忘记、过去
deepin
2021-05-04 08:48
#1

看你用的哪个终端,如果是默认的 bash,修改 ~/.bashrc,加入以下内容:

if [ $TERM = "linux" ]; then
  export LANG=en_US.UTF-8
  export LANGUAGE=en_US.UTF-8
fi

然后执行 source ~/.bashrc 重新进 tty 即可。

Reply View the author
lcw0268
deepin
2021-05-04 10:13
#2
It has been deleted!
177******61
deepin
2021-05-05 02:47
#3

 临时更改执行

export LANG=en_US.UTF-8

 export LANGUAGE=en_US.UTF-8

即可

Reply View the author
孤岛悬城
deepin
2021-05-08 03:23
#4
It has been deleted!
孤岛悬城
deepin
2021-05-08 05:18
#5
忘记、过去

看你用的哪个终端,如果是默认的 bash,修改 ~/.bashrc,加入以下内容:

if [ $TERM = "linux" ]; then
  export LANG=en_US.UTF-8
  export LANGUAGE=en_US.UTF-8
fi

然后执行 source ~/.bashrc 重新进 tty 即可。

谢谢,学到了

Reply View the author