写稿时发现幻13上居然没有配置过输入法。总有人要说用Linux的第一步是安装好中文输入法,所以简单写个笔记,完全假设环境混乱的情况下部署。
先删干净所有输入法框架和配置文件。不建议su下安装。
安装Fcitx和rime
万事开头前先update数据库。
sudo apt-get update
sudo apt-get remove –purge ibus ibus-*
sudo apt-get remove –purge fcitx fcitx-*
sudo apt-get autoremove –purge
rm -rf ~/.config/fcitx ~/.config/ibus ~/.cache/ibus ~/.local/share/fcitx5 ~/.config/fcitx5
安装Fcitx以及rime。
sudo apt-get install fcitx fcitx-config-gtk fcitx-frontend-all fcitx-module-dbus fcitx-ui-classic
sudo apt install fcitx5-rime fcitx5-chinese-addons
如果没有自动启动fcitx,可以手动启动它。
fcitx5 &
此时右上角会出现小键盘图标,点击它,选择配置。
在弹出的窗口中右侧找到中川韵,这个就是rime,双击它添加。到这里rime就可以使用了,比自带输入法强很多。
安装雾凇拼音
在左侧选中中川韵,点击中间的齿轮图标,点击用户数据目录。
通常这个目录会在:/home/你的用户名/.local/share/fcitx5/rime
要么你自己下载:https://github.com/iDvel/rime-ice/releases/latest/download/full.zip 解压到用户数据目录,也可以复制我写好的命令。
接下来的命令请注意自己替换用户名。
cd /home/你的用户名/.local/share/fcitx5/rime
wget https://github.com/iDvel/rime-ice/releases/latest/download/full.zip
unzip full.zip -d ./
fcitx5-rime-deploy
编辑用户数据目录下default.custom.yaml文件。
patch:
schema_list:
– schema: rime_ice
重启fcitx
pkill fcitx5 && fcitx5 &
此时Ctrl+空格切换到中川韵,你应该就能看到雾凇拼音了。


