This is a note on installing and configuring input methods for Chinese, English, and Japanese text on Ubuntu Linux.

Updated: 2015-3-22, Ubuntu Linux 14.04

Install and configure Sougou Pinyin for Chinese, Mocz for Japanese.

Install packages

sudo apt-get install im-switch fcitx fcitx-mozc fcitx-anthy

  • fcitx: Flexible Input Method Framework
  • fcitx-mozc: Mozc engine for fcitx - Client of the Mozc input method
  • Mozc: https://code.google.com/p/mozc/

Install Sougou Pinyin.

Configure Emacs to use fcitx

In order to use fcitx input methods in Emacs, the following configuration needs to be placed in $HOME/.bashrc:

export LC_CTYPE="zh_CN.UTF-8"

References

  • http://www.cnblogs.com/pylemon/archive/2012/01/05/2312682.html
  • http://moritzmolch.com/1453
blog comments powered by Disqus