Ubuntu安装scim
Installation of scim on Ubuntu/Kubuntu
The latest release of Ubuntu comes with scim installed by default.
To install the languages you plan to use along with their input method engines go to:
System->Administration->Language Support
and select the languages you need.
If you want scim to work with programs that use Qt you need to install scim-qtimm:
$ sudo apt-get install scim-qtimm
System configuration
Locale configuration
Set scim as the input method for X under the locale en_US.utf8:
$ im-switch -z en_US -s scim
This will create a .xinput.d directory under your home directory along with a file that
lists all of the exported environment variables necessary for scim upon startup. This file
will be read by the 80im-switch script located in /etc/X11/Xsession.d when X starts up.
End of the configuration
To enable the new configuration you need to restart X. You can do this either by rebooting or log out and do a Ctrl+Alt+Backspace.
这个scim很麻烦的……
似乎没有太多的選擇...
update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/scim'
update-alternatives --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/scim 30