In Arch official repository, uim is built with the following custom configuration (as of 1.7.1):

+

In Arch official repository, uim is built with the following custom configuration (as of 1.8.4):

* {{Ic|--with-anthy-utf8}} : Enable Anthy(UTF-8) support

* {{Ic|--with-anthy-utf8}} : Enable Anthy(UTF-8) support

−

* {{Ic|--with-qt4}} : Build uim-tools for Qt

+

* {{Ic|--with-qt4-immodule}} : Build Qt4 immodule

+

* {{Ic|--with-qt4}} : Build uim-tools for Qt4

Please see [http://code.google.com/p/uim/wiki/InstallUim official wiki] for all configure options.

Please see [http://code.google.com/p/uim/wiki/InstallUim official wiki] for all configure options.

Line 112:

Line 113:

[http://code.google.com/p/mozc/ Mozc] is a Japanese Input Method Editor (IME) designed for multi-platform such as Chromium OS, Windows, Mac and Linux which originates from [http://www.google.com/intl/ja/ime/ Google Japanese Input].

[http://code.google.com/p/mozc/ Mozc] is a Japanese Input Method Editor (IME) designed for multi-platform such as Chromium OS, Windows, Mac and Linux which originates from [http://www.google.com/intl/ja/ime/ Google Japanese Input].

−

Though {{AUR|Mozc}} adapts to only ibus input method framework, [http://code.google.com/p/macuim/ macuim] provides uim-mozc plugin which can use with {{AUR|mozc-svn}} or {{AUR|mozc-ut}}.

If you want use uim-mozc with latest Mozc, there is a workaround (as of r124). Edit PKGBUILD as follows, i.e. uncomment both of {{Ic|1=_uim_mozc=}} and {{Ic|1=_kill_kill_line}} lines:

+

===== Mozc (Vanilla) =====

+

{{AUR|uim-mozc}} is available on AUR.

+

{{Note|This does not support kill_line feature of uim-mozc.}}

+

You can install this from unofficial user repository. Add the following into your /etc/pacman.conf:

+

[pnsft-pur]

+

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

+

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

+

And refresh package database:

+

# pacman -Syy

+

You can choose install packages specifying group name as follows:

+

# pacman -S mozc-im

+

Or, specify package names directly. For example:

+

# pacman -S uim-mozc

+

+

===== mozc-ut and mozc-svn =====

+

{{AUR|mozc-ut}} and {{AUR|mozc-svn}} can be built uim-mozc.

+

<!-- {{Warning|As of 2012-09, uim-mozc does not adapt to latest Mozc.}}

+

If you want use uim-mozc with latest Mozc, there is a workaround (as of r124). Edit PKGBUILD as follows, i.e. uncomment both of {{Ic|1=_uim_mozc=}} and {{Ic|1=_kill_kill_line}} lines: --><!-- This drops `kill-line' feature of uim-mozc. -->

Steps to build

The one of the easy way to build from source is using ABS.
First, install ABS:

# pacman -S abs

Update ABS:

# abs

Then, copy uim's directory to under your $HOME. For example:

$ cp -R /var/abs/extra/uim ~/sources/

Edit PKGBUILD.

Finally, run makepkg under uim directory to make and install package:

$ makepkg -s -i

Input method

Anthy

Anthy is one of the most popular Japanese input methods in the open source world. However, it has not been maintained for a long time. Debian succeeds it from May 2010.

To install Anthy :

# pacman -S anthy

Extra dictionary

Anthy's default dictionary does not include several characters which are not specified on EUC-JP (JIS X 0208) such as "①", "♥", etc. alt-cannadic provides extra dictionaries including those characters.

mozc-ut and mozc-svn

mozc-utAUR and mozc-svnAUR can be built uim-mozc.
To build uim-mozc, edit PKGBUILD like follow, i,e. uncomment _uim_mozc= line:

## If you will be using uim, uncomment below.
_uim_mozc="yes"
## If applying patch for uim-mozc fails, try to uncomment below.
#_kill_kill_line="yes"
## This will disable the 'kill-line' function of uim-mozc.

Registering Mozc

Warning: You must run the following command whenever you upgrade or (re-)install uim.
# uim-module-manager --register mozc

Google CGI API for Japanese Input

Google CGI API for Japanese Input (Google-CGIAPI-Jp) is CGI service to provide Japanese conversion on the Internet by Google. It can be used on web browser. Its conversion engine seems to be equivalent to Google Japanese Input, so conversion quality is probably better than Mozc.

Note: This service sends/receives preedits and candidates as plain text (as of 2012-09).

You can use it via uim. Choose "Google-CGIAPI-Jp" on uim-im-switcher-gtk/gtk3/qt4 or uim-pref-gtk/gtk3/qt4.

Input Japanese on Emacs

LEIM or minor-mode

You can call uim.el from Emacs in two ways; directly or with the LEIM (Library of Emacs Input Method) framework. Though settings of them are different, basic functions are same. If you want to switch between uim.el and other Emacs IMs frequently, you should use LEIM framework.

Settings for the minor-mode

If you will be using on minor-mode, write the following settings into your .emacs.d/init.el or some other file for Emacs customizing.

Ignoring C-SPC on uim.el

When you are assigning activation/deactivation of input method to C-SPC, C-SPC is stolen to switch input mode by uim.el while it is activated. To prevent the stealing and use for set-mark-command, add the followings into your .emacs.d/init.el or some other file for Emacs customizing.

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

Troubleshooting

Cannot input Japanese on Opera

If you use Opera and cannot input Japanese with uim, try to edit environment variable as follows:
Make sure to add follows in the beginning of /usr/bin/opera.

export XMODIFIERS=@im='uim'
export QT_IM_MODULE='xim'

Cannot type a consonant in Zenkaku mode

If you cannot type a consonant in Zenkaku mode, add follows to your config file.

uim-toolbar-gtk-systray: tray icon is crushed

Though some of DE, WM or panel application may provide only one icon space per application on system-tray/notification-area, uim-toolbar-gtk-systray displays some icons on it by default so those icons are crushed. Choose just one of them to solve it. The steps to display only 'Input mode' icon for example as follows:

Run uim-pref-gtk.

Click 'Toolbar' on 'Group' list.

Take the all checkmarks off.

Click 'Anthy', 'Anthy (UTF-8)' or 'Mozc' which you are using on 'Group' list.

Click Edit button in 'Toolbar' box -> 'Enable toolbar buttons' line.

Enable only 'Input mode' and click 'Close' button.

Click 'OK' button to close uim-pref-gtk.

The tray icon will be displayed "あ" (Hiragana mode) or "ー" (Direct mode).