electricface
2013-11-21 19:22 deepin
是这样的
所以我在~/.bashrc 里面加上了这样一段,判断是否为tty,然后设定语言为英文。Copy the Code核心命令是
export LANGUAGE=en_US
export DISPLAY=:0
还有一种显示中文的办法安装 fcitx-frontend-fbtermCopy the Code
所以我在~/.bashrc 里面加上了这样一段,判断是否为tty,然后设定语言为英文。
- if [[ "$(tty)" =~ "/dev/tty" ]];then
- export LANGUAGE=en_US
- export LC_TIME="en_US.UTF-8"
- export DISPLAY=:0
- export ISTTY=1
- fi
export LANGUAGE=en_US
export DISPLAY=:0
还有一种显示中文的办法安装 fcitx-frontend-fbterm
- sudo apt-get install fcitx-frontend-fbterm -y
- fcitx-fbterm-helper -l
Reply Like 0 View the author