Ubuntu语言支持设置:
安装中文支持包
sudo apt-get install language-pack-zh-hans
修改/etc/environment(在文件的末尾追加):
LANG="zh_CN.UTF-8" LANGUAGE="zh_CN:zh:en_US:en"
修改/var/lib/locales/supported.d/local(没有这个文件就新建,同样在末尾追加):
en_US.UTF-8 UTF-8 zh_CN.UTF-8 UTF-8 zh_CN.GBK GBK zh_CN GB2312
执行命令:
sudo locale-gen
解压缩中文乱码:
安装unar:
sudo apt-get install unar
使用unar解压文件:
unar 文件名
设置gedit支持Windows下中文编码:
gsettings set org.gnome.gedit.preferences.encodings auto-detected"['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT','UTF-16']"
gsettings set org.gnome.gedit.preferences.encodings shown-in-menu"['GB18030', 'GB2312', 'GBK', 'UTF-8', 'BIG5', 'CURRENT','UTF-16']"