采取的方案是如果通过终端直接登录, 则切换到美式英语, 否则保持不变
vim /etc/profile.d/lang.sh
#
# Bind language to english to defend font not found
#
consoletype=$(tty | awk '/^\/dev\/[^\/]+$/ {print "vt"}')
if [ -n "$LANG" ]; then
case $LANG in
*.utf8*|*.UTF-8*)
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
case $LANG in
ja*)

最低0.47元/天 解锁文章
5066

被折叠的 条评论
为什么被折叠?



