Solve the problem that the Chinese input method cannot be activated in Ubuntu.

Source: Internet
Author: User
Article Title: solve the problem that the Chinese input method cannot be activated in Ubuntu. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

Ubuntu's support for Chinese characters is one of the most popular Linux distributions. Its Chinese Input Method is SCIM (Smart Common Input Method, that is, the original Smart Chinese Input Method). By loading different Input methods modules, it implements Chinese Input methods including pinyin, five strokes, and two strokes, and support for many foreign input methods. However, Ubuntu does not start SCIM as a daemon by default, but starts it as needed through the plug-in the Gnome input box. Although this increases the system startup speed (almost the same as not mentioned) and reduces the burden on the system (the computer did not feel the burden five years ago ), however, when we use a program not compiled using GTK or the input box does not support Gnome plug-ins (such as Firefox and Openoffice), the Chinese input method cannot be used. To solve the above problem, we can use the following method: (case sensitive)

Open the terminal and enter sudo gedit/etc/X11/Xsession. d/95 xinput

In the Open Text Editor, enter the following content:

Export XMODIFIERS = @ im = SCIM

Export XIM = scim

Export XIM_PROGRAM = scim

Export GTK_IM_MODULE = "scim"

Export QT_IM_MODULE = "scim"

Scim-d

Save the file and restart it. Now, SCIM is started as a daemon. However, the Pinyin input method is still not installed, so we need to install the relevant input method module through the network.

Open Synaptic, click search, enter scim, and search for all software related to SCIM. Find the pinyin module, right-click, select "Mark and install", and click "Apply. Enable SCIM Configuration Utility to configure related options and restart the computer.

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.