Arch Linux 中 fcitx5 输入法的安装与配置
2020-08-28
1 min read
安装
yay -S fcitx5 fcitx5-chinese-addons fcitx5-qt fcitx5-gtk kcm-fcitx5 fcitx5-rime fcitx5-pinyin-moegirl fcitx5-pinyin-moegirl-rime fcitx5-pinyin-zhwiki fcitx5-pinyin-zhwiki-rime
设置开机自启动
sudo cp /usr/share/applications/org.fcitx.Fcitx5.desktop /etc/xdg/autostart/
Rime码表词库配置
# 位置 ~/.local/share/fcitx5/rime
配置使用搜狗输入法皮肤
下载 示例皮肤
转换器
git clone https://github.com/fkxxyz/ssfconv
`ssfconv 珍珠白(无阴影版).ssf white`
cp -r white ~/.local/share/fcitx5/themes/
修改皮肤显示bug
vim ~/.local/share/fcitx5/themes/white/theme.conf
[Metadata]
Name=珍珠白(无阴影版)
Version=2.0
Author=好好看电视
Description=极简皮肤《珍珠白》(无阴影版)
ScaleWithDPI=False
[InputPanel]
Font=Sans 16
NormalColor=#3c3c55
HighlightCandidateColor=#ff3737
HighlightColor=#3c3c4b
HighlightBackgroundColor=#f8f8f8
Spacing=3
[InputPanel/TextMargin]
Left=5
Right=5
Top=3
Bottom=3
[InputPanel/ContentMargin]
Left=17
Right=17
# 顶部的空白是这里了
Top=10
# 修改底部空白为17
Bottom=17
[InputPanel/Background]
Image=skin2_2.png
[InputPanel/Background/Margin]
Left=22
Right=27
Top=24
Bottom=28
[InputPanel/Highlight]
Image=highlight.png
[InputPanel/Highlight/Margin]
Left=5
Right=5
Top=5
Bottom=5
[InputPanel/PrevPage]
Image=prev.png
[InputPanel/PrevPage/ClickMargin]
Left=5
Right=5
Top=4
Bottom=4
[InputPanel/NextPage]
Image=next.png
[InputPanel/NextPage/ClickMargin]
Left=5
Right=5
Top=4
Bottom=4
[Menu/Background]
Image=skin2_2.png
[Menu/Background/Margin]
Left=23
Right=26
Top=22
Bottom=24
[Menu/ContentMargin]
Left=19
Right=19
Top=27
Bottom=20
[Menu/Highlight]
Image=menu_highlight.png
[Menu/Highlight/Margin]
Left=10
Right=10
Top=5
Bottom=5
[Menu/Separator]
Color=#3c3c55
[Menu/CheckBox]
Image=radio.png
[Menu/SubMenu]
Image=arrow.png
[Menu/TextMargin]
Left=5
Right=5
Top=5
Bottom=5