LOADING

加载过慢请开启缓存 浏览器默认开启

Arch Linux Instruction

2025/10/27 Technology

A simple Arch Linux instruction

Install a Japanese Input Method on Arch Linux

Install Fcitx5 as the framework and Mozc as the input method
  1. Install Packages
sudo pacman -S fcitx5 fcitx5-mozc fcitx5-configtool fcitx5-gtk fcitx5-qt
  1. Set Environment Variables
    Add these lines to the shell profile file (~/.xprofile for GDM, SDDM, LightDM, ~/.bashrc for bash)
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx

You can check out your shell by this

echo $shell
  1. Autostart Fcitx5
fcitx5 -d &
  1. Log out & Log in your Arch Linux

  2. Open the configuration tool by running:

fcitx5-configtool

In the ‘Input Method’ tab, click the + button. Search for and add Mozc to your list.