Skip to main content

Japanese Input

This is a memo on how to set up Japanese input using Fcitx (Flexible Input Method Framework) and Mozc.

Install

sudo pacman -S fcitx5-mozc fcitx5-im fcitx5-configtool

fcitx5 is a successor to fcitx.

Configurations

Add Mozc to the input method in fcitx configuration tool. Then, create ~/.pam_environment.

vim ~/.pam_environment
+ GTK_IM_MODULE DEFAULT=fcitx
+ QT_IM_MODULE DEFAULT=fcitx
+ XMODIFIERS DEFAULT=\@im=fcitx
+ SDL_IM_MODULE DEFAULT=fcitx

If this does not work, execute the following command.

gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}"