Some Supplements to Linux input methods
What we hope most when using Linux is to have a useful input method. I personally think that fcitx is still a very good input method, but the installation of this input on Linux will always encounter one or another problems. previous Article Article(Http://blog.csdn.net/mylxiaoyi/archive/2005/06/09/390889.aspx) has mentioned the installation method on FC and Debian. however, this installation method always has a problem. It is much more convenient to install Debian, but there is another situation in FC.
When we install fcitx on FC, the configuration file is written in ~ /. In bashrc, the startup script of the input method is also written here, and there will not be too many problems with this method when using gnome, if we want to use Kde, there will be a small problem, that is, every time we open a terminal, there will always be a line of error prompts, although this is not a big problem, however, this prompt still seems uncomfortable, because we wrote the fcitx configuration in the bash configuration file, in this way, whenever we open a new terminal, A fcitx will be started. ProgramBecause one is already running, an error will be reported and exited. How can this problem be solved?
According to the methods provided on the official fcitx website, either in the/etc/X11/xinit/xinput. d/zh_cn file or in ~ The following statements are written to the/. xinput. d/zh_cn file:
Xim = fcitx
Xim_program = fcitx
Gtk_im_module = fcitx
Gnome-im-settings-daemon>/dev/null
Qt_im_module = fcitx
In fact, their method is not to write the last sentence, maybe they just configure gnome. if we want to use it in Kde, we need to add the last sentence. This is the key to the configuration method.
Here we still have a problem. It seems that we have mentioned in some forum installation methods that we want to disable the iiim service. I used to do the same in the past, however, the configuration file we are using cannot be used in this case, so we need to open the iiim service. you can enable it in the setup service configuration, or use the following command:
$ Chkconfig -- add iiim
If we want to enable fcitx to start automatically at startup, we can add/usr/bin/fcitx to Gnome preferences> more preferences> sessions> the Startup Program.
After the restart, we can use the fcitx Input Method in Kde, and now the input method is automatically started ~~
(Refer to http://www.fcitx.org and some forums)
Installation and configuration of Linux input method:
Http://blog.csdn.net/mylxiaoyi/archive/2005/06/09/390889.aspx
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