本文介绍如何在 Debian/Ubuntu 系 Linux 中安装 Rime 输入法,并配置雾凇拼音。
输入法框架选择与安装
Linux 中文输入法通常由三层组成:
1 2 3 4 5 6 7
| 应用程序 ↓ 输入法框架:IBus / Fcitx5 ↓ 输入法引擎:Rime ↓ 具体配置:雾凇拼音
|
IBus 更适合 GNOME 桌面,因为 GNOME 对 IBus 集成较好。
Fcitx5 更适合 KDE、MATE、XFCE、LXQt、xrdp 等环境,中文输入体验和兼容性通常更好。
安装 im-config
1 2
| sudo apt update sudo apt install im-config
|
安装 IBus + Rime + 雾凇拼音
1 2 3 4 5 6 7 8 9 10 11 12
| sudo apt update sudo apt install ibus ibus-rime git librime-plugin-lua
im-config -n ibus
mv ~/.config/ibus/rime ~/.config/ibus/rime.bak.$(date +%F-%H%M%S) 2>/dev/null git clone --depth=1 https://github.com/iDvel/rime-ice.git ~/.config/ibus/rime
ibus-setup
|
安装 Fcitx5 + Rime + 雾凇拼音
1 2 3 4 5 6 7 8 9 10 11 12
| sudo apt update sudo apt install fcitx5 fcitx5-rime fcitx5-config-qt git librime-plugin-lua
im-config -n fcitx5
mv ~/.local/share/fcitx5/rime ~/.local/share/fcitx5/rime.bak.$(date +%F-%H%M%S) 2>/dev/null git clone --depth=1 https://github.com/iDvel/rime-ice.git ~/.local/share/fcitx5/rime
fcitx5-configtool
|
切换后需要注销当前桌面会话,然后重新登录。
检查当前输入法环境
1 2 3
| echo $GTK_IM_MODULE echo $QT_IM_MODULE echo $XMODIFIERS
|