Centos 6.3 install fcitx little penguin Chinese Input Method 1. First install Chinese Support: su rootyum install "@ Chinese Support" exit and log out. 2. install fcitx to download the fcitx input method source code. Baidu search, I downloaded the official version of "Fcitx little penguin Input Method 4.0" provided by huajun Software Park ". Www.2cto.com first install the library on which fcitx depends: yum install gettext-devel libXft-devel libXpm-devel
Decompress source package: unzip fcitx-4.0.0.tar.ziptar zxf fcitx-4.0.0.tar.gzcd fcitx-4.0.0./configuremakemake install test whether the installation is successful: Enter fcitx-h, if the installation is successful, you should be able to get the help file, as shown below:
[Root @ CentOS ~] # Fcitx-hUsage: fcitx [OPTION]-d run as daemon (default)-D don't run as daemon-c (re) create config file in home directory and then exit-n [im name] run as specified name-v display the version information and exit-h display this help and exit
3. Configure Fcitx as the default input method. Method 1: (this method is recommended !) 1. create a configuration file vim/etc/X11/xinit/xinput. d/fcitx. conf, content: XIM = fcitxXIM_PROGRAM =/usr/local/bin/fcitx # note that this file must exist, please confirm its location XIM_ARGS = "-d" www.2cto.com GTK_IM_MODULE = fcitx QT_IM_MODULE = fcitx2. then delete the symbol link xinputrc in the/etc/alternatives/directory and create a new one: mv/etc/alternatives/xinputrc. bakln-s/etc/X11/xinit/xinput. d/fcitx. conf/etc/alternatives/xinputrc
3. finally, log out and log in. In the menu system-preference-input method, select "enable Input Method feature", select "use fcitx", and then "log out ", after logging on, press ctrl + space to activate the fcitx input method. NOTE: If your desktop is in an English environment, you need to use the user directory. add the following content to the bashrc configuration file: export LANG = "zh_CN.UTF-8" export LC_CTYPE = "zh_CN.UTF-8" export XIM = fcitxexport connector = fcitxexport GTK_IM_MODULE = ximexport XMODIFIERS = "@ im = fcitx"
Method 2: (this method can be used in CentOS 5.3, and there is a problem in CentOS 5.5 .) 1. create a configuration file: vim/etc/X11/xinit/xinput. d/fcitx, content: XIM = fcitxXIM_PROGRAM = fcitxGTK_IM_MOUDLE = fcitxQT_IM_MOUDLE = fcitx save and quit, restart the computer 2. check whether Fcitx is running at startup. Enter fcitx in the terminal. The prompt is: Start FCITX error. Another XIM daemon named SCIM is running? That's right. Go directly to "4"
3. if no prompt is displayed, ln-s/etc/X11/xinit/Xinput. d/fcitx/$ HOME /. xinputrc4. input: fcitx-nb. You can see that the input box is run in the background by default after fcitx is started. Therefore, you can call it out without the input box. Ctrl + space to switch the input method. Www.2cto.com configure the fcitx Input Method to modify vim ~ The preference settings in the/. fcitx/config file.
Iii. uninstall method to enter the Directory: cd/usr/src/fcitx-3.6.3 uninstall: make uninstall attachment: My fcitx configuration file is as follows vim ~ /. Fcitx/config [Program] display font (medium) = display font (English) = Courier display font size = 20 Main Window Font size = 12 whether to use AA font = 1 [Output] number followed by halfwidth symbol = 1Enter key behavior = 1 semicolon input English = 0 uppercase letter input English = 1 forbidden paging in Lenovo mode = 1LumaQQ supported = 0
[Interface] www.2cto.com number of candidate words = 9 in the main window, whether to use the 3D interface = 0 input items use the 3D interface = 1 hidden mode in the main window = 0 whether to automatically hide input entries = 0 # enter a fixed width only applicable to the code table input method, 0 indicates the input is not fixed width = 600 after the serial number add = 0 display typing speed = 1 cursor color = 92 210 131 main window background color = 220 220 220 Main Window line color = 100 180 255 main Window input method name color = 170 170 170 150 200 0 0 150 input window background color = 255 240 240 input window prompt color = 240 0 0 input window user input color = 0 0 255 input window serial number color = 200 0 0 input window first candidate color = 0 150 100
# This color value is only used in the pinyin user-created Word Input window. User phrase color = 0 0 0 255 input window prompts encoding color = 100 100 255 # five strokes, Pinyin single word/system phrase are used other text color = 0 0 0 input window line color = 100 200 255 255 input window arrow color = 150 255 220 virtual keyboard window background color = 220 220 virtual keyboard window letter color = 80 0 0 virtual keyboard window symbol color = 0 0 0 # In addition to "quick switch between Chinese and English, other hotkeys can be set to two, in the middle, use spaces to separate [hot keys] www.2cto.com. open/close the input method = CTRL_SPACE # The Chinese and English quick switch key can be set to L_CTRL R_CTRL L_SHIFT R_SHIFT Chinese and English quick switch key = L_CTRL double-click switch between Chinese and English = 0 the time cursor follow = CTRL_KGBK support = CTRL_M Lenovo support = CTRL_L reverse lookup pinyin = CTRL_ALT_E full halfwidth = SHIFT_SPACE Chinese Punctuation = ALT_SPACE
Previous Page =-Next page = third-party candidate word selection key = SHIFT [input method] use Pinyin = 1 use double spelling = 0 use location = 1 use code table = 1 prompt phrase = 0 [pinyin] use full spell = 0 pinyin automatic group words = 1 save automatic group words = 0 add pinyin common words = CTRL_8 Delete pinyin common words = CTRL_7 Delete pinyin user phrase = CTRL_DELETE
# Pinyin is a fixed-character key followed by an equal sign. Do not use a space. Pinyin is a fixed-character key = [] # how to adjust the duplicate code: 0-> do not adjust 1-> quickly adjust 2-> adjust the conversion mode of Pinyin single words by frequency = 2 www.2cto.com pinyin phrase re-encoding adjustment method = 1 pinyin common words re-encoding adjustment method = 0 whether fuzzy whether an and ang = 0 are fuzzy en and eng = 0 are fuzzy ian and iang = 0 are fuzzy in and ing = 0 are fuzzy ou and u = 0 are fuzzy uan and uang = 0 whether to blur c and ch = 0 whether fuzzy f and h = 0 whether fuzzy l and n = 0 whether fuzzy s and sh = 0 whether fuzzy z and zh = 0Fcitx Input Method Official Website: http://www.fcitx.org