Ubuntu + Emacs + Fcitx Chinese Input Solution

Source: Internet
Author: User
I used scim + emacs to configure the Chinese system for half a day. I quickly got a substitute and finally finished the important work. PS: The following operations are performed in the environment. First of all, it is emacs. Everyone should have this, so I am no longer arrogant. Fcitx was launched. Install sudoapt-getinstallim-switchfcitxsudoim-switch-sfc

I used scim + emacs to configure the Chinese system for half a day. I quickly got a substitute and finally finished the important work.

PS: The following operations are performed in the environment.

First of all, it is emacs. Everyone should have this, so I am no longer arrogant.
Fcitx was launched. Follow the official introduction for installation:

Sudo apt-get install im-switch fcitx
Sudo im-switch-s fcitx-z default

My system reported an error when running the last step, but it does not matter. I can also run it manually:

Fcitx &

Next, add a configuration command to. emacs to mask the C-SPC keys.

(Global-set-key (kbd "C-SPC") 'nil)

Finally, make a shell file and put it on the desktop.

#! /Bin/sh
Export LC_CTYPE = zh_CN.UTF-8
Sudo emacs

Run on the terminal to enter the password. You can click to run the emacs supporting Chinese characters as su. Great!

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.