[Nix-dev] Problems setting Japanese input method

Eric Sagnes eric.sagnes at gmail.com
Sat Jun 27 05:57:48 CEST 2015


Hello,

I am having some hard time making Japanese input working in Nixos.

I tried:

1. fcitx + anthy (via fcitx-with-plugin package)

- Working in Xterm.
- Not working in applications like firefox, terminator, konsole, etc.

.xprofile:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx


2. uim + anthy

- Working in Xterm, but typed text before validation is garbled, eg: "$$$*" 
  candidate window and text after validation is displayed fine.
- Not working in applications like firefox, terminator, konsole, etc.

.xprofile:
export GTK_IM_MODULE=uim
export QT_IM_MODULE=uim
export XMODIFIERS=@im=uim


3. ibus + anthy

- for some reason, Anthy is not listed in ibus available input methods list.

.xprofile:
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus


I noticed that there is a mozc package in nixpkgs and by looking at its contents 
it seems that it could be used with ibus.
But like anthy, mozc is missing from ibus input method lists.

Any help would be greatly appreciated!
-- 
Eric Sagnes
サニエ エリック


More information about the nix-dev mailing list