There is an unofficial user repository of Mozc. Add the following into your /etc/pacman.conf:

There is an unofficial user repository of Mozc. Add the following into your /etc/pacman.conf:

[pnsft-pur]

[pnsft-pur]

+

SigLevel = Optional TrustAll

Server = http://downloads.sourceforge.net/project/pnsft-aur/pur/$arch

Server = http://downloads.sourceforge.net/project/pnsft-aur/pur/$arch

{{Note|This repo provides x86_64 packages only now.}}

{{Note|This repo provides x86_64 packages only now.}}

Revision as of 01:58, 16 May 2013

Mozc is a Japanese Input Method Editor (IME) designed for multi-platform such as Chromium OS, Windows, Mac and Linux. This open-source project originates from Google Japanese Input. Detailed differences between Mozc and Google Japanese Input are described in About Mozc (In short, Mozc does not have equivalent conversion quality to Google Japanese Input).

Compiling Mozc using PKGBUILD

Edit PKGBUILD

If you will be using mozc.el on Emacs, uncomment _emacs_mozc line.

## If you will be using mozc.el on Emacs, uncomment below.
_emacs_mozc="yes"

Build and install

Then, build and install:

$ makepkg -s -i

Note: Some of AUR helper does not support split package so it may fail installing mozc. Even in the case, package files (*.pkg.tar.xz) should be generated unless makepkg is failed. You can install manually from AUR helper's working directory or $PKGDEST using pacman -U.

mozc.el provides "overlay" mode in the styles of showing candidates (from mozc r77) which shows a candidate window in box style close to the point. If you want to use it by default, add the following:

(setq mozc-candidate-style 'overlay)

C-\ (`toggle-input-method') enables/disables use of mozc-mode.

Disabling XIM on Emacs

When you are using input method on your desktop and assigning activation/deactivation of input method to C-SPC, you will be not able to use C-SPC/C-@ as set-mark-command on Emacs. To avoid this problem, add the following into your ~/.Xresources or ~/.Xdefaults. xim will be disabled on Emacs.

Emacs*UseXIM: false

Tips

Confirming Mozc version which you are using now

Type "ばーじょん" ("version") and convert it while activating Mozc. The version number of Mozc will be shown in the candidate list like follows:

One of the solution for it is to use CapsLock key as Eisu_toggle (Mozc does not recognize CapsLock key as of r124). The following is way to assign the Eisu_toggle to Template:Keypress (without any modifier keys) and the Caps_Lock to Template:Keypress, like OADG keyboard layout.

mozc-svn

mozc-svnAUR builds using the published svn repository instead of source tarball and can build uim-mozc and fcitx-mozc plugin. You should use mozc (vanilla) or mozc-ut unless you have any reason. This is exactly similar to mozc (published svn repository is not actually trunk) and run-time of makepkg of mozc-svn will be longer than mozc.