Type in Japanese

I personally do not like ibus. I use fcitx5 for all of my language typing stuff. You can read more on the Arch Wiki.

You need to install these packages:

  • fcitx5 (main package)
  • fcitx5-mozc (popular Japanese input, though there are others in link above)
  • fcitx5-qt (prevent issues with qt programs)
  • fcitx5-gtk (prevent issues with gtk programs)
  • fcitx5-configtool (GUI config tool, makes your life easier)

You’ll also need to add these environment variables:

GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx

The wiki recommends putting them in /etc/environment; I put mine in ~/.xinitrc though iirc. There are multiple ways to input environment variables.

1 Like