Installation

To set up Japanese input using Fcitx5 with Anthy or mozc, execute the following command:

anthy
DistroCommand
Gentooemerge --ask app-i18n/fcitx app-i18n/fcitx-configtool app-i18n/fcitx-anthy
mozc
DistroCommand
Gentooemerge --ask app-i18n/fcitx app-i18n/fcitx-configtool app-i18n/mozc

Configuration

Update hyprland.conf

Add the following line to your hyprland.conf file:

exec-once=fcitx5

Update .bashrc

Add these lines to your .bashrc to configure the input method environment variables:

eexxppoorrttQXTM_OIDMI_FMIOEDRUSL=E@=ifmc=iftcxitx

Final Steps

  1. Open fcitx5-configtool.
  2. In the Input Method tile, add Anthy or mozc.
  3. Use Ctrl+Space to switch between your input methods.