I learned how to install the fcitx input method within one day.

Source: Internet
Author: User
I learned how to install the fcitx Input Method for one day-Linux general technology-Linux technology and application information. The following is a detailed description. I know three installation methods for the one-day input method:

1st types:
Use fcitx of rpm for installation (this is the simplest): 0wpoi2
# Rpm-e miniChinput
# Rpm-e xcin
# Rpm-ivh fcitx-3.0.2-1.i386.rpm
# Cd/usr/bin
# Ln-sf fcitx chinput
# Exit
Ctrl + Alt + Backspace
(Restart X)

2nd types:
Install with fcitx of the pre-compiled package (this is also relatively simple): 0wpoi2
# Rpm-e miniChinput
# Rpm-e xcin
# Tar-xvjf fcitx-3.4.2-bin.tar.bz2
# Cd fcitx-3.4.2-bin
#./Fcitx. install
# Cd/usr/bin
# Ln-sf fcitx chinput
# Exit
Ctrl + Alt + Backspace
(Restart X)

3rd types:
Use the source code package fcitx for installation (this is not a good idea, but it is not ready yet): 0 wszxc
I'm a newbie. I don't even know about gcc or make in Linux. (Or I don't know about it. I only know about it after looking for a long time)
I have searched the internet for a long time, and there are still many materials, but I have never succeeded;

Rpm-e miniChinput
Rpm-e xcin
I don't want to talk about it anymore. You should know it. Uninstall the input methods that come with the previous system.

# Tar-jxvf fcitx-3.4.2.tar.bz2
# Cd fcitx-3.4.2
#./Configure -- prefix =/usr/local/fcitx-3.4.2
# Make
# Make install

I have read the online, the above steps are almost the same, nothing to say (just install fcitx in/usr/local/fcitx-3.4.2)
The subsequent configuration of fcitx is somewhat different, as shown below:

View the file zh_CN in the/etc/X11/xinit/xinput. d/directory. If not, create one and change the content to the following;
XIM = fcitx
XIM_PROGRAM = fcitx
GTK_IM_MODULE = fcitx
XMODIFIERS = "@ im = fcitx"
Gnome-im-settings-daemon>/dev/null

For example, many of them mentioned above, but I did not succeed. : 0w223dc
There is also the following section:

After installation, modify the Xinput file under/etc/X11/xinit/xinitrc. d and replace the following content with the original content:
Export XIM = fcitx
Export XIM_PROGRAM = fcitx
Export XMODIFIERS = "@ im = fcitx"
Export GTK_IM_MODULE = fcitx
Export LANG = 'zh _ CN'
Save and exit.
The last step is to restart Linux.

That's also true. : 0w223dc

Fcitx is the default registered XIM name fcitx. However, if XMODIFIERS is set when fcitx is started, fcitx automatically registers the appropriate name based on the system settings ."
Therefore, the simplest method for newly installed Mandrake and RedHat is to execute the following command :"
Cd/usr/bin"
Ln-sf fcitx chinput"
Then restart X.

In other words, this is even unsuccessful. : 0w223dc

In ~ /. Add a row to bashrc:
Export XMODIFIERS = "@ im = fcitx"
Export XIM = fcitx
Export XIM_PROGRAM = fcitx
Then, log on to the current user again and start X.

This kind of occasional failure. : 0w223dc

However, it cannot be started automatically every time the x interface is started. It must be started manually and run in/usr/local/fcitx3.4.2/bin./fcitx

In the above sentence, I did this and succeeded.): o: s ~~~~~ After a long time, I finally got a little sweet. But I still haven't gotten it done. I need to manually Wow: 0L

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.