安装必要程序
- 使系统保持最新
sudo pacman -Syu
- 安装环境
sudo pacman -S yay fakeroot
- 安装 fcitx5
sudo pacman -S fcitx5 fcitx5-qt fcitx5-gtk fcitx5-lua fcitx5-material-color fcitx5-chinese-addons
- 安装 rime
yay -S fcitx5-rime xcb-imdkit kcm-fcitx5 noto-fonts-emoji
- 配置 fcitx5 环境
echo -e '\nexport XMODIFIERS="@im=fcitx5"\nexport GTK_IM_MODULE="fcitx5"\nexport QT_IM_MODULE="fcitx5"' | sudo tee -a /etc/profile
- 重启电脑
reboot
启用 rime
-
右键任务栏上的键盘图标
-
点击
配置 -
叉掉所有输入法
-
点击
添加输入法 -
选择
中州韵 -
点击
添加 -
点击
应用 -
右键任务栏上的键盘图标
-
点击
重新启动
使用 oh my rime (可选)
- 安装压缩与解压zip程序
sudo pacman -S zip unzip
- 打开 fcitx5 文件夹
cd ~/.local/share/fcitx5
- 下载并解压 oh my rime
wget https://github.com/Mintimate/oh-my-rime/archive/refs/heads/main.zip && unzip main.zip && rm main.zip
- 压缩 rime 配置文件夹作为备份
zip -r rime-backup.zip rime && rm -r rime
- 将 oh-my-rime-main 重命名为 rime
mv oh-my-rime-main rime
-
右键任务栏上的键盘图标
-
点击
重新启动
一键安装脚本
curl -fsSL https://raw.githubusercontent.com/yjrszcq/Rime-Auto-Install/main/rime-auto-install.sh | bash