Install SCIM Input Method In Debian

Source: Internet
Author: User
Tags gtk
Install the SCIM Input Method In Debian-Debian information in the Linux release. For more information, see. The locale I use is a en_US.UTF-8, according to SCIM documentation instructions, it is best to install SCIM locale with UTF-8. (You can also use locale of GB2312 and GBK, and use scim in the same way)

For a newly installed Debian system without SCIM installed (after the new debian installer is installed in Chinese, scim has been installed on one side), as long

Apt-get install scim

SCIM has been installed! Of course not available yet. Because SCIM is just an input method platform, you also need to install the input method (or code table) on it ). For example,

Apt-get install scim-chinese

You can use the intelligent Pinyin input method! Of course, you need to configure it before using it. The configuration method is very simple. Create a file named 95xinput in/etc/X11/Xsession. d/. The file content is as follows:

/Usr/bin/scim-d
XMODIFIERS = "@ im = SCIM"
Export XMODIFIERS
Export GTK_IM_MODULE = scim

Save the file. After confirming that the content is correct, exit X (it is recommended to exit X and run the exit command to re-login once). Then, press Ctrl + Space to call up SCIM when entering X!

In my experiment, SCIM can be used in xterm.

If you need other Chinese input methods

Apt-get install scim-tables-zh

This includes five strokes, two strokes, Guangdong pinyin, and natural code for simplified Chinese, as well as the ranks of Traditional Chinese, five generations of R, Yi, and phonetic injection. I now use the five-stroke input method, which can input simplified and traditional Chinese characters with rich vocabulary and is very easy to use. However, SCIM cannot be called out in GTK-based software. For example, I cannot use SCIM in leafpad. The solution is simple, as long as the scim-gtk2-immodule is installed.

Apt-get install scim-gtk2-immodule

After installation, you do not need to restart X. You only need to re-open the GTK-based software. For example, if I open a new leafpad, I can use SCIM now!

This command automatically installs scim-server-socket, scim-frontend-socket, and scim-config-socket based on the dependency. If scim is not installed, scim is automatically installed.

The above is the installation of the Chinese input method, because I also need to use the Japanese input method. The following also describes how to enable SCIM to support Japanese input.

If sid is used, you can

Apt-get install scim-Anthony

You can install the Japanese input method.

I am using completely Sarge, which is not so convenient, but it is actually much more stable.

In Sarge, you can use a scim-m17n to provide Japanese input. Scim-m17n actually provides more than 20 input methods! After installation, the input method list is spectacular. You can remove unnecessary input methods from the settings. SCIM has a GUI setting interface, which is easy to use. However, after the settings, it sometimes needs to be canceled once to take effect.

Apt-get install scim-m17n (anthy)

In this way, however, it also automatically installs the guid agent that I don't like. You can use dpkg -- purge to delete it.

If the package name is not found during installation, run the following command to query the package file name. The package file name may be different in stable, testing, or sid.

Aptitude search scim

You can search for a list of related packages of the scim input method.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.