Multilingual Input on Arch Linux with Fcitx5

#fcitx5 #arch linux #input methods #chinese #localization
sudo pacman -S fcitx5 fcitx5-configtool fcitx5-chinese-addons

Basic Configuration

1. Environment Setup

Add to /etc/environment:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx
GLFW_IM_MODULE=ibus # Neccesary for fcitx to work in kitty

2. Autostart Configuration

Add to ~/.config/qtile/autostart.sh:

fcitx5 &

3. Input Method Setup

fcitx5-configtool  # GUI configuration
  1. Add Pinyin (Simplified)
  2. Remove the Enumerate Input Method Group Forward/Backward keybinds
  3. Change Trigger Input Method key (Recommend: Super+Space)
  4. Enable and configure cloud input (optional)

Essential Font Packages

1. Comprehensive CJK Fonts

# Noto Sans CJK (Google's Open Source Font)
sudo pacman -S noto-fonts-cjk  # Simplified & Traditional support

2. Monospace Coding Fonts

# Sarasa Gothic (CJK + Ligatures)
sudo pacman -S ttf-sarasa-gothic

3. Missing Glyph Fallback

# Install symbol fonts
sudo pacman -S noto-fonts-emoji

Advanced Customization

Material Design Theme

sudo pacman -S fcitx5-material-color
# Select in fcitx5-configtool → Addons → Classic UI → Fonts & Themes

Contribute to Fcitx5 development: fcitx/fcitx5