google-code-export / imsettings

Automatically exported from code.google.com/p/imsettings
GNU Lesser General Public License v2.1
1 stars 0 forks source link

IMSettings

IMSettings is a framework that delivers Input Method settings and applies the changes immediately. so it will takes an effect without restarting applications and the desktop.

Background

Input Method is used to input some dozens of characters that can't be represented with ASCII characters, with some framework such as XIM and SCIM via GTK+/Qt immodule. particularly which to handle languages that is a bit complex to do the same thing with the keyboard layout such as XKB. In the past, those frameworks has been applied through the environment variables, such as XMODIFIERS and GTK_IM_MODULE. and can't be influenced immediately and can't be without restarting the desktop because of its nature - it's being inherited from the parent process unless it's being brought up with the obvious thing from the terminal say. Also, there are no such framework to bring up the necessary process at the run time - of course anyone could runs it manually though, it's totally out of focus on this project.

Features

Scope

IMSettings may helps when:

Supported Toolkits

Information files for Input Method

To make Input Methods available from IMSettings, every Input Methods that hopes so has to have the information file to let IMSettings know. those files is usually put under a directory where you can change the default value with --with-xinputdir. the filename has to contain .conf or something that you can also change the default value with --with-xinput-suffix to avoid listing every Input Methods that might not work for some languages. Input Methods doesn't support multiple languages such as XIM doesn't have to have .conf suffix or so. xim.conf can deals with such configuration files properly for appropriate languages according to current locale.

Available parameters

The following parameters can be described as the shell environment variables like FOO=BAR in the information file.

Other variables used in xinput.sh

Processes