admin管理员组

文章数量:1436952

Armbian系统启用中文环境

斐讯N1在安装Armbian后,中文显示为乱码状态,为了方便使用,建议开启半中文显示。
具体启用的步骤如下:

locale                                               
#查看环境变量
sudo nano /etc/locale.gen                           		
#开启字库,去掉zh_CN.UTF-8前面的#保存
sudo apt-get update                            		
#更新程序列表 
sudo apt-get upgrade                        
 #更新程序
sudo apt-get install ttf-wqy-zenhei      
#安装中文字体
sudo fc-cache -v                                
#更新字体列表
sudo nano ~/.profile
#在文件末尾添加相应内容:                        
#全中文环境增加export LC_ALL=zh_CN.UTF-8
#半中文环境增加LC_CTYPE=zh_CN.UTF-8 和 LANG=en_US.UTF-8 
sudo locale-gen                               
#生成locale文件
sudo locale-gen zh_CN.UTF-8      
 #可不执行(重启后在登录界面可切换中文)
sudo reboot										
#重启系统

本文标签: 中文环境系统Armbian