[Nix-dev] Problems setting Japanese input method

Gabriel Ebner gebner at gebner.org
Mon Jun 29 16:03:23 CEST 2015


On Sat, Jun 27, 2015 at 12:57:48PM +0900, Eric Sagnes wrote:
> 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

ibus only shows anthy (and mozc) if you include them in the plugin list:

  programs.ibus.enable = true;
  programs.ibus.plugins = [ pkgs.ibus-anthy pkgs.mozc ];

This automatically sets the *_IM_MODULE and XMODIFIERS environment
variables as well.

Gabriel.


More information about the nix-dev mailing list