From Fedora Project Wiki
Line 28: Line 28:


=== XIM ===
=== XIM ===
An X Input Method server program needs to be running before it can be used in a legacy X application.  The <code>XMODIFIERS</code> environment variable needs to be set in a special way to tell an X application which XIM server to connect to.  E.g. <code>XMODIFIERS=@im=SCIM</code> would configure using the scim XIM server (the default if you're using scim anyway).
An X Input Method server program needs to be running before it can be used in a legacy X application.  The <code>XMODIFIERS</code> environment variable needs to be set in a special way to tell an X application which XIM server to connect to.  E.g. <code>XMODIFIERS=@im=SCIM</code> would configure using the scim XIM server.

Revision as of 03:14, 27 June 2008

Input Methods

Input Methods (IMs) are used to input Asian and other languages.

  • SCIM is the default multilingual input method framework in Fedora
  • m17n maps for Indic and other languages
  • uim, a light multilingual input method framework
  • gcin for Traditional Chinese
  • kinput2 for Japanese
  • nabi for Korean

imsettings and im-chooser provide a modern control mechanism for input methods on the desktop.

Toolkits and Input Methods

GTK and Qt load their input method modules dynamically at runtime.

For advanced users only!
The information below is only intended for advanced users who are comfortable using environments to control their environment. General users are strongly recommended to use imsettings through im-chooser to control their desktop input method usage.

GTK IM modules

The input method module (gtk immodule) used by an GTK application can be overridden on the commandline by setting the environment variable GTK_IM_MODULE.

If there is no gtk input method configuration in place then gtk will choose a default immodule based on /etc/gtk-2.0/*-redhat-linux-gnu/gtk.immodules. To disable input method usage in a GTK application entirely, set GTK_IM_MODULE=gtk-im-context-simple.

Qt IM modules

The input method module (qt immodule) used by an Qt application can be overridden on the commandline by setting the environment variable QT_IM_MODULE.

Qt defaults to using XIM by default. To disable input method usage in a Qt application entirely, set QT_IM_MODULE=simple.

XIM

An X Input Method server program needs to be running before it can be used in a legacy X application. The XMODIFIERS environment variable needs to be set in a special way to tell an X application which XIM server to connect to. E.g. XMODIFIERS=@im=SCIM would configure using the scim XIM server.