From 7a2d689a4fc3a83b4d41176015e8caacfd801150 Mon Sep 17 00:00:00 2001 From: Ivan Li Date: Fri, 28 Oct 2022 15:40:21 +0000 Subject: [PATCH] =?UTF-8?q?blog:=20=E5=AE=8C=E5=96=84=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/blog/debian-desktop-environment.md | 33 ++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/data/blog/debian-desktop-environment.md b/data/blog/debian-desktop-environment.md index b963108..bb39ae7 100644 --- a/data/blog/debian-desktop-environment.md +++ b/data/blog/debian-desktop-environment.md @@ -59,14 +59,15 @@ systemctl set-default graphical.target ## 中文输入法 -我使用小鹤音形,所以执行以下命令: +我使用 iBus + Rime + 小鹤音形. +执行以下命令安装 iBus + Rime: ```bash sudo apt install ibus ibus-rime ``` +接下来配置小鹤音形方案。 访问[小鹤的网盘](http://flypy.ysepan.com/)下载小鹤音形的挂接文件,小狼毫、鼠须管的都可以。 - 下载完成后解压出来,把压缩文件里的 `rime` 目录复制到 `/home/ivan/.config/ibus/rime`: ```bash @@ -79,7 +80,18 @@ cd '小鹤音形Rime平台鼠须管for macOS' cp -r ./rime ~/.config/ibus/rime ``` -配置环境变量: +创建 `~/.config/ibus/rime/default.custom.yaml` 文件,并设为以下内容: + +```yaml +patch: + schema_list: + - {schema: flypy} + - {schema: luna_pinyin} +``` + +参考:[分享我的输入法配置 (Rime 小狼豪 + 小鹤音形) - 炒饭之道](https://itx.ink/2018/11/21/SHARE_MY_RIME/) + +配置 iBus 环境变量: ```bash cat >> ~/.zshrc <