Input methods

From Trinity Desktop Project Wiki
Revision as of 14:25, 20 December 2021 by Blu256 (talk | contribs) (Added "Input Methods" page based on TQt's README.immodule)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TQt comes with immodule, a modular, extensible input method subsystem. The main goal of immodule is to extend and enhance the input method support in the TQt library, in order to provide a modern and powerful multi-language input system, and is similar to the immodule for GTK+.

Installation

immodule is part of the standard TQt distribution.

immodule provides two additional ./configure options. Choose 'Binary Compatible' for normal use.

Options Description
./configure -inputmethod Build TQt with 'Binary Compatible' immodule support (default)
./configure -inputmethod -inputmethod-ext Build TQt without binary compatibility, but supports more advanced immodule extensions. It cannot be used with ordinary application binaries (i.e. the option is for developers)

How to use

  • See users manual of each input method plugins
  • Run tqtconfig to choose your favorite XIM input style


Environment variables

Some environment variables are available for expert users and system integrators. See following examples to use the variables.

Example Description
export TQT_IM_MODULE=xim Set "xim" input method as default
export TQT_IM_MODULE=simple Set "simple" composing input method as default
export TQT_IM_SWITCHER=imsw-none
export TQT_IM_MODULE=xim
Set "xim" input method as default, and disable input method selection menu in the context menu*
export TQT_IM_SWITCHER=imsw-multi
export TQT_IM_MODULE=xim
Set "xim" input method as default, and enable input method selection menu in the context menu* (default configuration)
export TQT_IM_SWITCHER=imsw-none
export TQT_IM_MODULE=iiimqcf
Set "iiimqcf" that has its own input method switching framework as default, and disable input method selection menu in the context menu. Such configuration is required by some system integrators to provide unified user interface for global input method switching over the desktop

* Input method selection menu might not be available in some TDE apps.


Links