Japanese Input
This is a memo on how to set up Japanese input using Fcitx (Flexible Input Method Framework) and Mozc.
Install
- fcitx5
- fcitx
sudo pacman -S fcitx5-mozc fcitx5-im fcitx5-configtool
sudo pacman -S fcitx-mozc fcitx-im fcitx-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'>}"