简介
Rime 是跨平台的输入法引擎,可以高度自定义。
官网:https://rime.im/
发行版
Rime 輸入方案可通用於以下發行版:
- 【中州韻】 ibus-rime → Linux
- 【小狼毫】 Weasel → Windows
- 【鼠鬚管】 Squirrel → Mac OS X
除程序文件以外,Rime 還包括多種數據文件。 這些數據文件存在於以下位置:
共享資料夾
- 【中州韻】
/usr/share/rime-data/
- 【小狼毫】
"安裝目錄\data"
- 【鼠鬚管】
"/Library/Input Methods/Squirrel.app/Contents/SharedSupport/"
用戶資料夾
- 【中州韻】
~/.config/ibus/rime/
(0.9.1 以下版本爲 ~/.ibus/rime/
;fcitx5 为 ~/.local/share/fcitx5/rime/
)
- 【小狼毫】
%APPDATA%\Rime
- 【鼠鬚管】
~/Library/Rime/
安装
Linux
Ubuntu / Debian / Deepin / Linuxmint
1
|
sudo apt install fcitx5-rime
|
Arch Linux
1
|
sudo pacman -Sy fcitx5-rime
|
安装完成后,在终端里运行fcitx5-configtool
(或在应用程序启动器中检索「Fcitx」关键字),打开 Fcitx 设置工具。然后,在右侧的「可用输入法」中找到 RIME,双击它,以将其添加到「当前输入法」列表。
最后,在系统托盘右击 Fcitx 图标(通常显示为键盘图案,或者是一只小企鹅),选择「RIME」,这样就成功激活了。
Windows
使用 小狼毫 weasel ,安装需要的版本:
下载后,安装即可
Android
使用 小企鹅输入法,安装:
启用小企鹅输入法,在 输入法
添加 中州韵
输入法方案
对于一开始使用 rime 的用户,推荐使用别人制作好的输入发方案。
rime-ice 全拼 双拼
rime-ice 被称为雾凇拼音,提供了一套开箱即用的完整配置,包含输入方案(全拼、常见双拼)、长期维护的开源词库及各项扩展功能。
官网:Rime 配置:雾凇拼音
GitHub:Rime 配置:雾凇拼音 | 长期维护的简体词库
rime-wubi86-jidian 五笔
使用输入法方案
Linux
使用 rime-ice
1
2
3
|
mkdir -p ~/.local/share/fcitx5/rime/
cd ~/.local/share/fcitx5/rime/
git clone --depth 1 https://github.com/iDvel/rime-ice.git
|
重新部署 rime
Windows
使用 rime-ice
下载 rime-ice.zip并解压到 用户资料文件夹
,重新部署
Android
下载 rime-ice.zip,安装 MT 管理器,进入
1
|
/storage/emulated/0/Android/data/org.fcitx.fcitx5.android/files/data/rime/
|
将压缩包内容解压到上述的文件夹中
打开输入法,重新部署
同步
同步主要是同步词典,将输入过的内容合并同步
配置目录下的installation.yaml
文件会在第一次部署后会自动生成;在这里可以编辑当前设备的ID
和同步目录
,如:
1
2
3
4
5
6
7
|
distribution_code_name: "fcitx-rime"
distribution_name: Rime
distribution_version: 5.1.4
install_time: "Fri Apr 18 11:14:51 2025"
installation_id: "linuxmint"
sync_dir: "/home/mint/backup/application/rime/sync"
rime_version: 1.10.0
|
修改 installation_id
和增加 sync_dir
输入法同步后会在 sync_dir
生成以 installation_id
值命名的文件夹,所以同步只需要同步 /home/mint/backup/application/rime/sync
文件夹
比如:
1
2
3
4
5
|
backup/application/rime/sync/
├── android
├── linux
├── linuxmint
└── windows
|
皮肤风格
为了自定义输入候选的皮肤风格,可参考如下
小狼毫
新建 weasel.custom.yaml
文件
通用格式:
1
2
3
4
5
6
7
|
customization:
distribution_code_name: Weasel
distribution_version: 0.16.3
generator: "Weasel::UIStyleSettings"
modified_time: "Sun Jun 22 09:18:36 2025"
rime_version: 1.11.2
patch:
|
添加的输入法风格应该加在 patch:
下
如果让候选词按照垂直排列,将以下内容添加到 皮肤风格最后
1
2
3
4
|
patch:
style:
......
horizontal: false # 设置为 true 启用横排显示
|
1
2
3
4
|
patch:
style:
......
inline_preedit: true # 可选:将输入码显示在候选词同一行
|
Google 风格
长这样:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
patch:
style:
color_scheme: google
font_face: "Source Han Sans SC, Microsoft YaHei"
font_point: 12
horizontal: true
inline_preedit: true
layout:
baseline: 0
linespacing: 0
align_type: center
max_height: 600
max_width: 0
min_height: 0
min_width: 10
border_width: 0
margin_x: 8
margin_y: 8
spacing: 13
candidate_spacing: 22
hilite_spacing: 6
hilite_padding: 8
# hilite_padding_x: 8
# hilite_padding_y: 8
shadow_radius: 0
shadow_offset_x: 4
shadow_offset_y: 4
corner_radius: 8
round_corner: 8
|
仿微软输入法
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
patch:
preset_color_schemes:
microsoft_sim:
name: 仿微软输入法
author: plutotree
back_color: 0xF4F4F4
border_color: 0xDCDCDC
text_color: 0x000000
hilited_text_color: 0xF4F4F4
hilited_back_color: 0xFFD8A6
hilited_candidate_text_color: 0x000000
hilited_candidate_back_color: 0xFFD8A6
candidate_text_color: 0x000000
comment_text_color: 0x888888
style:
color_scheme: microsoft_sim
label_format: "%s"
font_face: "微软雅黑"
font_point: 14
horizontal: true
inline_preedit: true
layout:
min_width: 160
min_height: 0
border_width: 1
border_height: 1
margin_x: 12
margin_y: 12
spacing: 10
candidate_spacing: 24
hilite_spacing: 8
hilite_padding: 12
round_corner: 0
|