Install Sublime-text in Linxu (Ubuntu) and support Chinese Input

Source: Internet
Author: User

Bytes ------------------------------------------------------------------------------------------

First, perform the following operations:

Sudo su

Add-apt-repository ppa: webupd8team/sublime-text-2/* or sublime-text-3 */

Apt-get update

Apt-get install sublime-text

By default, no menu bar is displayed on the interface. Press and hold the ALT key to display the menu bar at the top of the window.

-------------------------- @ Author chenwei <www. chenwei. ws> ---------------------

You cannot enter Chinese characters in the editor. The solution is as follows:

Install git:

Apt-get install git

Get scim-googlepinyin:

Sudo git clone git: // github.com/tchaikov/scim-googlepinyin.git/* clone Code */

Cd scim-googlepinyin // * enter the directory */

./Autogen. sh/* run */

  

(Prompt: No package 'scim 'found)

Install scim:

Apt-get install scim

Apt-get install libscim-dev/* The process takes some time */

./Autogen. sh/* a series of installation */

Make & make install

Bytes ----------------------------------------------------------------------------------------------

Next, go to settings in the system:

Enable the language support. Change the keyboard input mode to SCIM.

  

After the restart, it will take effect. You can enter Chinese Characters in Sublime to Ctrl + Space to switch the Google input method!

-------------------------- @ Author chenwei <www. chenwei. ws> --------------------------

Note:

This is the method for SCIM switching. The default setting is as follows:

  

   

The default value of the input method is Ctrl + Space. You can also set it in the upper right corner:

   

Bytes ----------------------------------------------------------------------------------------------

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.