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.