Solution to SublimeText's Chinese Input Method in linux

Source: Internet
Author: User

Recommended for dev: http://www.sublimetext.com/dev

Let's talk about it first.Chinese displayProblems:

Find a font that supports Chinese display, and modify the Preference-File Settings-user:

{"Font_face": "DejaVu Sans YuanTi Mono "}

Note: Only users can be changed. It is ineffective to change the Default value.

 

The question of Sublime Text's Chinese Input has plagued me for a long time. Today, I finally reached a point on Zoom. Quiet's Thursday.

We recommend that you install scim-googlepinyin.

The key is to install the configuration. You can select "scim-bridge" in "system-language support" (it is not acceptable to select scim ).
Or can I run the "sudo im-switch-s scim-bridge-z default" command? (Not tested)

That's it !!

The attached scim input box cannot follow the problem solution:

Change the default GTK_IM_MODULE = scim to GTK_IM_MODULE = "scim-bridge ". Save and exit.

The following settings are made in the scim input method:

Scim settings-> global settings-> remove the check mark before embedding the pre-edited string in the client

Scim settings-> gtk-> uncheck embedded candidate tokens

Restart scim

Open the terminal and enter pkill scim

Enter scim-d

If not, log out and try again. (The cursor cannot be followed in sublimetext)

OK.

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.