Install Scim-Python Input Method in Archlinux

Source: Internet
Author: User
Tags gtk

 

The following describes how to install the scim-python Input Method in Archlinux. I hope to share it with you. One reason why I chose to install scim-python is that Fcitx does not seem to work well with FF3. In addition, the Fcitx dictionary is not as large as sicm-python.

Before installing scim-python, install

Pacman-S scim

After

Yaourt pyenchant

Then download the latest code from the http://code.google.com/p/scim-python.

After unzipping the scim-python-0.1.11.tar.gz, run the following command:

$ Scim-python-0.1.11 cd

$./Autogen. sh -- prefix =/usr

$ Make

$ Sudo make install

Install scim-python.

Then install scim-bridge. Some programs cannot be started if scim-bridge is not installed. For example, Thunderbird.

Yaourt scim-bridge can be installed.

After installation, update the content in/etc/gtk-2.0/gtk. immodules. Execute the gtk-query-immodules-2.0 to redirect the output to/etc/gtk-2.0/gtk. immodules.

Then you need to manually modify the content of the/etc/gtk-2.0/gtk. immodules file, delete the two lines related to scim (keep the two lines related to scim-bridge ). If you do not delete the two lines related to scim, you will not be able to access X Windows after cancellation. It may be related to the process of scim-launcher.

Modify. bashrc and add

Export XIM = scim

Export XIM_PROGRAM = scim

Export GTK_IM_MODULE = scim-bridge

Export XMODIFIERS = "@ im = scim"

You can.

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.