Install Fcitx5

paru -S fcitx5-im fcitx5-chinese-addons kcm-fcitx5 fcitx5-rime

Configure ~/.xprofile

vim ~/.xprofile
 
-----
export GTK_IM_MODULE=fcitx5  
export QT_IM_MODULE=fcitx5  
export XMODIFIERS="@im=fcitx5"  
 
fcitx5 &
-----

Install input method

git clone --depth=1 https://github.com/Mark24Code/rime-auto-deploy.git --branch latest
 
cd rime-auto-deploy
 
 
./installer.rb

Patch

vim ~/.local/share/fcitx5/rime/default.custom.yaml
 
-----
patch:
  __include: rime_ice_suggestion:/
  __patch:
    key_binder/bindings/+:
      - { when: paging, accept: comma, send: Page_Up }
      - { when: has_menu, accept: period, send: Page_Down }
    menu:
      page_size: 5
-----
vim ~/.local/share/fcitx5/rime/rime_ice.custom.yaml
-----
patch:
  speller/algebra:
    - derive/eng/en/
    - derive/en/eng/
    - derive/in/ing/
    - derive/ing/in/
-----

Install themes

cp -r <theme-folder> ~/.local/share/fcitx5/themes
 
mkdir -p ~/.local/share/fcitx5/themes/Winter
vim ~/.local/share/fcitx5/themes/Winter/theme.conf
$ cat ~/.local/share/fcitx5/themes/Winter/theme.conf
 
---
AccentColorField=
 
[Metadata]
Name=winter
Version=0
Author=thepoy
Description="Fctix5 Winter Theme"
 
[InputPanel]
NormalColor=#000000
HighlightColor=#000000
HighlightBackgroundColor=#00000000
HighlightCandidateColor=#ffffff
EnableBlur=False
BlurMask=
FullWidthHighlight=True
PageButtonAlignment=Bottom
 
[InputPanel/BlurMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/Background]
Image=
Color=#ffffff
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[InputPanel/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
 
[InputPanel/Background/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/Highlight]
Image=
Color=#1d66cd
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[InputPanel/Highlight/Margin]
Left=20
Right=20
Top=10
Bottom=10
 
[InputPanel/Highlight/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/Highlight/HighlightClickMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/ContentMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/TextMargin]
Left=20
Right=20
Top=10
Bottom=10
 
[InputPanel/PrevPage]
Image=
 
[InputPanel/PrevPage/ClickMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/NextPage]
Image=
 
[InputPanel/NextPage/ClickMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[InputPanel/ShadowMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu]
NormalColor=#000000
HighlightCandidateColor=#ffffff
Spacing=0
 
[Menu/Background]
Image=
Color=#ffffff
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[Menu/Background/Margin]
Left=2
Right=2
Top=2
Bottom=2
 
[Menu/Background/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/Highlight]
Image=
Color=#1d66cd
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[Menu/Highlight/Margin]
Left=10
Right=10
Top=5
Bottom=5
 
[Menu/Highlight/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/Separator]
Image=
Color=#c0c0c0
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[Menu/Separator/Margin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/Separator/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/CheckBox]
Image=radio.png
Color=#ffffff
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[Menu/CheckBox/Margin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/CheckBox/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/SubMenu]
Image=arrow.png
Color=#ffffff
BorderColor=#ffffff00
BorderWidth=0
Overlay=
Gravity="Top Left"
OverlayOffsetX=0
OverlayOffsetY=0
HideOverlayIfOversize=False
 
[Menu/SubMenu/Margin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/SubMenu/OverlayClipMargin]
Left=0
Right=0
Top=0
Bottom=0
 
[Menu/ContentMargin]
Left=2
Right=2
Top=2
Bottom=2
 
[Menu/TextMargin]
Left=5
Right=5
Top=5
Bottom=5
---
 

Configure themes

系统设置 - 语言和区域设置 - 输入法 - 配置附加组件 - 经典用户界面