Ubuntu22.04安装rime+雾凇输入法+美化,实现跟微软拼音一样的使用体验(基于Flatpak)
首先安装Flatpak,并使用它安装fcitx5 and rime:
sudo apt install flatpak
flatpak remote-add --user flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.fcitx.Fcitx5
flatpak install flathub org.fcitx.Fcitx5.Addon.Rime
然后添加雾凇输入法,支持中英文混合输入:
- 找到rime的配置文件夹
~/.var/app/org.fcitx.Fcitx5/data/fcitx5/rime
,下载配置
cd ~/.var/app/org.fcitx.Fcitx5/data/fcitx5/rime
git clone --depth=1 https://github.com/iDvel/rime-ice
cp -rf rime-ice/* .
rm -rf rime-ice
- 修改配置文件添加右边的shit也能切换中英文(可选)
cd ~/.var/app/org.fcitx.Fcitx5/data/fcitx5/rime
vim default.yaml
# 找到Shift_R: noop更换为commit_code
- 添加Fcitx5-themes:
cd ~/.var/app/org.fcitx.Fcitx5/data/fcitx5
# 如果没有themes文件夹就创建一个
mkdir themes
git clone https://github.com/thep0y/fcitx5-themes.git
cd fcitx5-themes
# 将需要的主题复制到themes文件夹,复制完后可以把fcitx5-themes文件夹删掉
cp [theme文件夹] ../themes -r
配置文件添加:
vim ~/.var/app/org.fcitx.Fcitx5/config/fcitx5/conf/classicui.conf
添加内容(参考https://github.com/thep0y/fcitx5-themes.git ):
# 垂直候选列表
Vertical Candidate List=False
# 按屏幕 DPI 使用
PerScreenDPI=True
# Font (设置成你喜欢的字体)
Font="Smartisan Compact CNS 12"
# 主题(这里要改成你想要使用的主题名,主题名就在下面)
Theme=macOS-light
添加fcitx5自启动(可选):
打开startup application设置:添加自启动命令flatpak run org.fcitx.Fcitx5