Article Title: Linux Fcitx Chinese Input Method boot start method. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The default Chinese Input Methods for Debian, FC, and Ubuntu are SCIM, which is actually quite useful. It is a bit similar to Microsoft Pinyin input methods in windows, while fcitx is a bit similar to Ziguang input methods in windows, which one you like depends on your habits. I tried it for a while and it feels better than SCIM. The following describes how to enable the boot Fcitx, because debian default start of the Chinese Input Method is SCIM, ctrl + shift is not to switch to fcitx, the article is still referred to in the jims.yang@gmail.com in the fat family finishing notes, for more information, see the original document.
1. startup in GNOME
1. Write the following settings to/etc/X11/Xsession. d/55gnome-session_gnomerc or the user's main directory ~ /. In the gnomerc file ,~ /. If the gnomerc file does not exist, you can create it yourself. The 55gnome-session_gnomerc script checks whether the system exists ~ /. Gnomerc file. If yes, it will be executed using the source. gnomerc command.
Export XIM_PROGRAM = fcitx
Export XIM = fcitx
Export XMODIFIERS = "@ im = fcitx"
Fcitx &
2. Then you need to set the Gnome system LANGUAGE environment to zh_CN.GB2312 or zh_CN.GBK or zh_CN.UTF-8, you can set in the LANGUAGE (LANGUAGE) option in the lower left corner of the window for logging on to the windows. You can also configure the # dpkg-reconfigure locales command.
3. Restart the machine running the fcitx input method. The configuration file of fcitx is in ~ /. Fcitx Directory, which can be configured according to your own needs.
2. Start In KDE
Create a file 92 fcitx in the/etc/X11/Xsession. d/directory. The content is as follows:
Export LANG = "zh_CN.UTF-8" # Set Chinese locales, if not set, fcitx garbled after startup, cannot be used.
Export XIM_PROGRAM = fcitx
Export XIM = fcitx
Export XMODIFIERS = "@ im = fcitx"
Fcitx &
Note: locales cannot be set in kdm as if it were in the same way as that in gmtms. Therefore, you need to manually use export settings.
All configuration files in the/etc/X11/Xsession. d/directory are automatically executed when X is started.
Therefore, a 92fcitx file is created in this directory to start the fcitx file, which is similar to the/etc/X11/Xsession. d/55gnome-session_gnomerc file in the gnome environment.