Chinese input methods can also be used in ubuntu English environment

Source: Internet
Author: User
Linux's Chinese Language looks uncomfortable, and even the most popular Ubuntu feels a little bit, so it is switched to an English environment. However, Chinese characters cannot be entered. I searched the internet for half a day and found that many of them had to modify the/etc/X11/xinit/xinput. d/default file. I don't like modifying system files very much. So I thought of another method -- I observed the content of/etc/X11/xinit/xinput. d/, and added a link to it. Eagle @ peak :~ $ Ls-l/etc/X1 Linux's Chinese Language looks uncomfortable, and even the most popular Ubuntu feels a little bit, so it is switched to the English environment. However, Chinese characters cannot be entered.

I searched the internet for half a day and found that many of them had to modify the/etc/X11/xinit/xinput. d/default file. I don't like modifying system files very much.

So I thought of another method -- I observed the content of/etc/X11/xinit/xinput. d/, and added a link to it.

Eagle @ peak :~ $ Ls-l/etc/X11/xinit/xinput. d/total 32
Lrwxrwxrwx 1 root 32 2007-08-06 0:09 all_ALL->/etc/alternatives/xinput-all_ALL
-Rw-r -- 1 root 1042 2006-12-07 0:51 default
Lrwxrwxrwx 1 root 30 en_US->/etc/alternatives/xinput-zh_CN
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 ja_JP->/etc/alternatives/xinput-ja_JP
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 ko_KR->/etc/alternatives/xinput-ko_KR
-Rw-r -- 1 root 474 2006-12-07 0:51 none
-Rw-r -- 1 root 577 scim
-Rw-r -- 1 root 384 scim-chewing
-Rw-r -- 1 root 649 scim-immodule
-Rw-r -- 1 root 385 scim-pinyin
-Rw-r -- 1 root 506 scim_xim
Lrwxrwxrwx 1 root 30 2007-08-06 0:31 th_TH->/etc/alternatives/xinput-th_TH
-Rw-r -- 1 root 610 2006-12-07 0:51 th-xim
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 zh_CN->/etc/alternatives/xinput-zh_CN
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 zh_HK->/etc/alternatives/xinput-zh_HK
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 zh_SG->/etc/alternatives/xinput-zh_SG
Lrwxrwxrwx 1 root 30 2007-08-06 0:09 zh_TW->/etc/alternatives/xinput-zh_TW
Eagle @ peak :~ $ Ln-s/etc/X11/xinit/xinput. d/en_US/etc/alternatives/xinput-zh_CN

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.