From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

uim is a multilingual input method library and environment.


USE flags

USE flags for app-i18n/uim A multilingual input method framework

X Add support for X11
anthy Enable support for app-i18n/anthy
curl Add support for client-side URL transfer library
eb Enable support for dev-libs/eb
emacs Add support for GNU Emacs
expat Enable the use of dev-libs/expat for XML parsing
gtk Add support for x11-libs/gtk+ (The GIMP Toolkit)
gtk2 Enable support for x11-libs/gtk+:2
kde Add support for software made by KDE, a free software community
libedit Use the libedit library (replacement for readline)
libffi Enable support for Foreign Function Interface library
libnotify Enable desktop notification support
m17n-lib Enable m17n-lib support
ncurses Add ncurses support (console display library)
nls Add Native Language Support (using gettext - GNU locale utilities)
qt5 Add support for the Qt 5 application and UI framework
skk Enable support for app-i18n/skk-jisyo
sqlite Add support for sqlite - embedded sql database
ssl Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security)
static-libs Build static versions of dynamic libraries as well
xft Build with support for XFT font renderer (x11-libs/libXft)


root #emerge --ask app-i18n/uim


Bridge Configuration


To use uim as an input method on X, add the following lines to an X startup script:

FILE ~/.xprofile
# Set up environment variables for various applications
export GTK_IM_MODULE=uim    # Required for Gtk applications
export QT_IM_MODULE=uim     # Required for Qt applications
export XMODIFIERS=@im=uim   # Required for X applications without Gtk or Qt

# Start the XIM bridge (required for X applications without Gtk or Qt)
uim-xim &


uim can be used as an input method on a console environment via uim-fep bridge. No configurations are needed, so just run it on the console:

user $uim-fep
The basic Linux VT cannot display CJK characters. In order to get fully working CJK console environment, a framebuffer terminal such as app-i18n/fbterm is required too.




User preferences are defined in two ways:

  • via GUI Application (uim-pref-gtk3 or uim-pref-qt5);
  • or editing ~/.uim file.

See also

  • Input methods
  • IBus — an open source input framework for Linux and Unix.
  • Fcitx — an input method framework with support for many languages and scripts.