Merge branch 'master' of https://git.coding.net/lion187/NotePublic
This commit is contained in:
commit
16b94db7b7
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue