Default Input Method Xim for Ubuntu7.10

Source: Internet
Author: User
Previously, the default input method of X Desktop in Ubuntu7.10 was always Xim. For software such as Pidgin that supports input methods, right-click and select SCIM to enter Chinese. For software such as FireFox that does not support input methods, I had to open a separate Alt-F2 SCIM, although also solved the problem, but after all very not elegant. I found that the following files are critical:/etc/X11/xinit/xinput. d/scim-pinyin and then gedit:

Previously, the default input method for Ubuntu 7.10 X Desktop was always Xim. For software such as Pidgin that supports input methods, right-click and select SCIM to enter Chinese. For software such as FireFox that does not support input methods, I had to open a separate Alt-F2 SCIM, although also solved the problem, but after all very not elegant.

I found that the following files are critical:

/Etc/X11/xinit/xinput. d/scim-pinyin

So gedit:

If [-e/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so]; then
GTK_IM_MODULE = scim-bridge
Else
GTK_IM_MODULE = xim
Fi
If [-e/usr/lib/qt3/plugins/inputmethods/libqscim. so]; then
QT_IM_MODULE = scim
Else
QT_IM_MODULE = xim
Fi

We can see that if the scim-bridge package exists, scim under gtk is available; otherwise, xim is returned. Is it because I don't have the scim-bridge package? So I opened the system, system management, and got the new software package manager:

Select these scim-bridge and related packages, and then download and install them. At last, sudo im-switch-s scim-pinyin, and log in again!

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.