Installation
To set up Japanese input using Fcitx5 with Anthy or mozc, execute the following command:
anthy
| Distro | Command |
|---|---|
| Gentoo | emerge --ask app-i18n/fcitx app-i18n/fcitx-configtool app-i18n/fcitx-anthy |
mozc
| Distro | Command |
|---|---|
| Gentoo | emerge --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:
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
Final Steps
- Open
fcitx5-configtool. - In the Input Method tile, add Anthy or mozc.
- Use
Ctrl+Spaceto switch between your input methods.