首先安装 sudo apt-get install zhcon
设置如下:
编辑 /var/lib/locales/supported.d/local
添加 zh_CN.GBK GBK
zh_CN.GB2312 GB2312
sudo dpkg-reconfigure --force locales
编辑 /etc/environment
修改为
LANG=zh_CN.GBK
LANGUAGE="zh_CN:zh:en_US:en"
GST_ID3_TAG_RNCODING=GBK
LC_CTYLE=zh_CN.GBK
LC_ALL="zh_CN.GBK"
重启reboot。