From 5920c020e3b272a61a4430c4b53e98f935786323 Mon Sep 17 00:00:00 2001 From: Rick Chan Date: Sat, 16 Nov 2019 11:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=B1=89=E5=8C=96=E8=B5=84?= =?UTF-8?q?=E6=96=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rick Chan --- .../System/Linux/Manjaro/Manjaro_初始配置.md | 2 +- .../Manjaro/Manjaro_安装图形界面及开启_VNC.md | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Software/System/Linux/Manjaro/Manjaro_初始配置.md b/Software/System/Linux/Manjaro/Manjaro_初始配置.md index cdd112a..2ec67ed 100644 --- a/Software/System/Linux/Manjaro/Manjaro_初始配置.md +++ b/Software/System/Linux/Manjaro/Manjaro_初始配置.md @@ -110,7 +110,7 @@ locale-gen "en_US.UTF-8" ## 安装中文字体 ```sh -pacman -S opendesktop-fonts wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont +pacman -S ttf-dejavu opendesktop-fonts wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont yaourt -S ttf-ms-win8-zh_cn ttf-ms-win10-zh_cn ``` diff --git a/Software/System/Linux/Manjaro/Manjaro_安装图形界面及开启_VNC.md b/Software/System/Linux/Manjaro/Manjaro_安装图形界面及开启_VNC.md index 4aca08d..e4e7a24 100644 --- a/Software/System/Linux/Manjaro/Manjaro_安装图形界面及开启_VNC.md +++ b/Software/System/Linux/Manjaro/Manjaro_安装图形界面及开启_VNC.md @@ -14,6 +14,28 @@ pacman -S xfce4 xfce4-goodies pacman -S cinnamon ``` +## 支持中文显示 + +首先安装中文字体: + +```sh +pacman -S opendesktop-fonts wqy-microhei wqy-microhei-lite wqy-zenhei wqy-bitmapfont ttf-dejavu +``` + +不推荐全局汉化,这样可能会导致tty中无法汉化而出现乱码。最好是在用户各自的家目录下的~/.bashrc、~/.profile、~/.xinitrc或~/.xprofile中设置自己的用户环境,若文件不存在可以新建。 + +* .bashrc: 每次终端时读取并运用里面的设置 +* .profile:每次启动系统的读取并运用里面的配置 +* .xinitrc: 每次startx启动X界面时读取并运用里面的设置 +* .xprofile: 每次使用lightdm等图形登录管理器时读取并运用里面的设置 + +从上面所说的文件中你认为合适的文件,然后将下面的命令添加到文件末尾即可。 + +```sh +export LANG=zh_CN.UTF-8 +export LANGUAGE=zh_CN:en_US +``` + ## 使能 lightDM 登陆管理器 ```sh