ubuntu桌面环境安装中文环境

一些情况下我们需要进入ubuntu的桌面环境去解决问题,ubuntu桌面默认没有按照语言包,这个时候我们需要手工来安装这些语言支持。代码如下:

apt install language-pack-zh-hans* language-pack-gnome-zh-hans* language-pack-kde-zh-hans*

apt install $(check-language-support)

解决中文无法拖动文件

找到Ubuntu语言的配置文件

# gedit /etc/default/locale 

把里面改为以下内容

#  File generated by update-locale
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"

原文地址:https://www.cnblogs.com/passedbylove/p/10036906.html