在 Windows 版的 RIME 输入法中,已经内置了各种常用的输入方案,而且有图形化的配置工具,开箱即用。Linux 下就是另一回事了,安装之后默认只有全拼,要用上小鹤双拼还得自己动手。
安装 Rime 和双拼方案
Ubuntu 下:
1 2 3 4 5
| $ sudo apt-get install ibus-rime
$ sudo apt-get insatll librime-data-double-pinyin
|
Archlinux 下:
1
| $ sudo pacman -S ibus-rime
|
激活小鹤双拼方案选项
安装完 Rime 之后默认的方案选单里并没有小鹤双拼,需要自己添加进去。新建配置文件 ~/.config/ibus/rime/default.custom.yaml
, 添加如下内容:
default.custom.yaml1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| patch: schema_list: - schema: luna_pinyin - schema: luna_pinyin_simp - schema: luna_pinyin_tw - schema: terra_pinyin - schema: bopomofo - schema: jyutping - schema: cangjie5 - schema: cangjie5_express - schema: quick5 - schema: wubi86 - schema: wubi_pinyin - schema: double_pinyin - schema: double_pinyin_mspy - schema: double_pinyin_abc - schema: double_pinyin_flypy - schema: wugniu - schema: wugniu_lopha - schema: sampheng - schema: zyenpheng - schema: ipa_xsampa - schema: emoji
|
这里不光添加了小鹤双拼,还添加了其他方案的选单。好了,之后就可以通过 Rime 的快捷键 Ctrl-` 来选择小鹤双拼了。