xfce4 设置中文

  1. 安装locales并配置
sudo apt install locales
sudo dpkg-reconfigure locales
  1. 选择语言编码en_US.UTF8,zh_CN GB2312,zh_CN GBK GBK,zh_CN UTF-8 UTF-8

  2. 为当前用户配置默认语言为中文zh_CN UTF-8 UTF-8

nano ~/.bashrc
在.bashrc最后添加一行
export LANG=zh_CN.UTF-8
  1. 安装中文字体
sudo apt install fonts-wqy-zenhei

重启

posted @ 2022-08-15 13:36  养诚  阅读(8002)  评论(0编辑  收藏  举报