Ubuntu 10.04 is installed with ibus by default and can be used after the Chinese Language Pack (http://blog.csdn.net/wangjingfei/archive/2010/05/21/5614203.aspx) is installed. However, ibus has many known problems, such as Linux QQ crash. In contrast, fcitx has a great advantage. It can be said that it is more in line with the usage habits of Chinese people. The following describes how to install and beautify the fcitx little penguin input method.
1. Install fcitx
- Sudo apt-GetInstall fcitx im-Switch
Sudo apt-Get install fcitx im-Switch
2. Set fcitx to the default value (the command cannot use SUDO)
- Im-Switch-S fcitx-zDefault
Im-switch-s fcitx-Z default
3. restart the computer and modify the fcitx configuration file.
[C-sharp]
View plaincopyprint?
- Gedit ~ /. Fcitx/config
Gedit ~ /. Fcitx/config
In this case, gedit may be opened with garbled characters. If it is garbled, You need to modify the encoding method to open gconf-editor.
- Gconf-Editor
Gconf-Editor
Add gb18030 to auto_detected in/apps/gedit-2/preferences/encoding and pin it to the top. Now you can re-open ~ /. Fcitx/CONF file
4. The modified configuration file is as follows for your reference:
[C-sharp]
View plaincopyprint?
- [Program]
- Show font (medium) = Microsoft yahei
- Show font (English) = Courier New
- Show font size = 12
- Main Window Font size = 9
- Font area = zh_CN.UTF-8
- Use AA font = 1
- Use bold = 1
- Use Tray Icon = 1
- [Output]
- Digit followed by halfwidth symbol = 1
- Enter key behavior = 2
- Semicolon key behavior = 2
- Uppercase letters = 1
- Punctuation in English conversion = 1
- Page flip prohibited by Lenovo mode = 1
- [Interface]
- Number of candidate words = 5
- Whether to use the 3D interface for the Main Window = 0
- Enter 3D interface = 0
- Main Window hiding mode = 1
- Show virtual keyboard = 0
- Whether to hide input entries automatically = 1
- Whether the input entry is centered = 0
- First display input = 1
- # Fixed width of the input entry (only applicable to the code table input method). 0 indicates unfixed width.
- Input fixed width = 0
- Input offset x = 0
- Input offset y = 12
- Add after serial number = 1
- Show typing speed = 1
- Show version = 1
- Cursor color = 102 159 66
- Main Window background color = 255 255 255
- Main Window line color = 255 255 255
- Main Window input method name color = 153 153 153 102 159 66 56 134 230
- Input window background color = 255 255 255
- Input window color = 2 89 196
- Input window user input color = 255 0 132
- Input window Serial No. Color = 0 66 200
- First candidate color in the input window = 0 99 200
- # This color value is only used for user self-creation in pinyin.
- Input window, user phrase color = 0 99 200
- Input window prompts encoding color = 255 0 132
- # This color is used for five or more Chinese/system phrases.
- Other text color in the input window = 56 134 230
- Input window line color = 255 255 255
- Input window arrow color = 193 227 151
- Virtual Keyboard window background color = 220 220 220
- Letter color of the virtual keyboard window = 80 0 0
- Virtual Keyboard window symbol color = 0 0 0
- # Except for "quick switch between Chinese and English", other hotkeys can be set to two, separated by Spaces
- [Hotkey]
- Enable/disable input = ctrl_space
- # You can set the shortcut key to l_ctrl r_ctrl l_shift r_shift l_super r_super.
- Quick Switch key = l_shift
- Double-click switch between Chinese and English = 0
- Key interval = 250
- Cursor follows = ctrl_k
- Hide Main Window = ctrl_alt_h
- Switch the virtual keyboard = ctrl_alt_k
- GBK supports = ctrl_m
- GBK traditional switch key = ctrl_alt_f
- Lenovo = ctrl_l
- Lookup pinyin = ctrl_alt_e
- Full halfwidth = shift_space
- Chinese Punctuation = alt_space
- Previous Page =,
- Next page =.
- Third-party candidate word selection key = 0
- [Input method]
- Use Pinyin = 1
- Pinyin name = smart pinyin
- Phrase = 1 in the prompt dictionary
- Other input methods =
- [Pinyin]
- Use full join = 0
- Pinyin automatic group word = 1
- Save automatic group word = 0
- Add commonly used Chinese characters in pinyin = ctrl_8
- Delete common pinyin characters = ctrl_7
- Delete pinyin user phrase = ctrl_delete
- # Pinyin is a fixed word key, followed by an equal sign. Do not have spaces
- Pinyin: fixed word key = []
- # How to adjust the re-code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by Frequency
- Pinyin single-character duplicate code adjustment method = 2
- Pinyin phrase re-encoding adjustment method = 1
- Method for adjusting the frequently-used Chinese characters in pinyin = 0
- Blur an and Ang = 0
- Fuzzy en and ENG = 0
- Fuzzy Ian and IANG = 0
- FuzzyInAnd ing = 0
- Fuzzy ou and u = 0
- Fuzzy UAN and Uang = 0
- Fuzzy C and CH = 0
- Blur F and H = 0
- Blur L and n = 0
- Blur S and SH = 0
- Fuzzy Z and ZH = 0
[Program] <br/> display font (medium) = Microsoft yahei <br/> display font (English) = Courier New <br/> show font size = 12 <br/> Main Window Font size = 9 <br/> font area = zh_CN.UTF-8 <br/> Use AA font = 1 <br /> Use bold = 1 <br/> Use Tray Icon = 1 <br/> [Output] <br/> number followed by halfwidth symbol = 1 <br/> enter key behavior = 2 <br/> semicolon key behavior = 2 <br/> uppercase letters: English = 1 <br/> punctuation in English conversion = 1 <br/> page turning is prohibited in Lenovo mode = 1 <br/> [interface] <br/> Number of candidate words = 5 <br/> whether to use the 3D interface in the main window = 0 <br/> enter a 3D interface = 0 <br /> hidden mode of the Main Window = 1 <br/> display virtual keyboard = 0 <br/> whether to hide the input bar automatically = 1 <br/> whether the input bar is centered = 0 <br/> display input entries for the first time = 1 <br/> # fixed width of input entries (applicable only to the code table input method ), 0 indicates non-fixed width. <br/> fixed input width = 0 <br/> offset of input bars x = 0 <br/> offset of input bars y = 12 <br/> NO. add up to = 1 <br/> show typing speed = 1 <br/> show version = 1 <br/> cursor color = 102 159 66 <br/> main window background color = 255 255 255 <br/> Main Window line color = 255 255 255 <br/> Main Window input method name color = 153 153 153 102 159 66 56 134 230 <br/> input window background color = 255 255 255 <br/> color of the input window = 2 89 196 <br/> color of the user input in the input window = 255 0 132 <br/> color of the input window serial number = 0 66 200 <br /> the first candidate color in the input window = 0 99 200 <br/> # The color value is only used for user self-creation in pinyin. <br/> the user phrase color in the input window is 0 99. 200 <br/> the input window prompts encoding color = 255 0 132 <br/> # This color is used for five or more Chinese/system phrases. <br/> other text colors in the input window = 56 134 230 <br/> input window line color = 255 255 255 <br/> input window arrow color = 193 227 151 220 <br/> virtual keyboard window background color = 220 220 <br/> letter color of the virtual keyboard window = 80 0 0 <br/> symbol color of the virtual keyboard window = 0 0 0 0 <br/> # apart from "quick switch between Chinese and English, other hotkeys can be set to two, separated by spaces <br/> [hotkey] <br/> enable/disable the input method = ctrl_space <br/> # You can set the shortcut key to Rochelle CTRL r_ctrl l_shift r_shift l_super r_super. <br /> l_ = l_shift <br/> double-click = 0 <br/> time interval = 250 <br/> cursor follow = ctrl_k <br/> hide the main window = ctrl_alt_h <br/> switch to virtual keyboard = ctrl_alt_k <br/> GBK support = ctrl_m <br/> GBK traditional switch key = ctrl_alt_f <br/> Lenovo = ctrl_l <br/> reverse query pinyin = ctrl_alt_e <br/> full width = shift_space <br/> Chinese Punctuation = alt_space <br/> Previous Page =, <br/> next page =. <br/> third-party candidate word selection key = 0 <br/> [input method] <br/> use Pinyin = 1 <br/> pinyin name = smart pinyin <br/> prompt phrases in the Lexicon = 1 <br/> other input methods = <br/> [pinyin] <br/> use full spelling = 0 <br/> pinyin automatic group words = 1 <br/> save automatic group words = 0 <br/> Add common pinyin words = ctrl_8 <br/> Delete common pinyin words = ctrl_7 <br/> Delete pinyin user phrase = ctrl_delete <br/> # pinyin keyword key, the equals sign is followed by the key and does not contain spaces. <br/> pinyin uses the fixed character key = [] <br/> # how to adjust the duplicate code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by frequency <br/> adjust the method of re-encoding of a single pinyin word = 2 <br/> adjust the re-encoding of A pinyin phrase = 1 <br /> adjust the encoding method for common Chinese Characters in pinyin by mistake = 0 <br/> blur an and Ang = 0 <br/> blur en and ENG = 0 <br/> blur Ian and IANG = 0 <br/> fuzzy in and ing = 0 <br/> fuzzy ou and u = 0 <br/> fuzzy UAN and Uang = 0 <br/> Fuzzy C and CH = 0 <br/> fuzzy F and H = 0 <br/> fuzzy L and n = 0 <br/> fuzzy S and SH = 0 <br/> fuzzy Z and ZH = 0
Note: To set the display font of the Input Method to Microsoft yahei, you must first install the corresponding font. For more information, see:
Http://blog.csdn.net/wangjingfei/archive/2010/05/21/5614203.aspx
See: http://www.fcitx.org/download/fcitx3.pdf for detailed configuration instructions
5. Restart X-window to use the penguin input method!
Ubuntu 10.04 is installed with ibus by default and can be used after the Chinese Language Pack (http://blog.csdn.net/wangjingfei/archive/2010/05/21/5614203.aspx) is installed. However, ibus has many known problems, such as Linux QQ crash. In contrast, fcitx has a great advantage. It can be said that it is more in line with the usage habits of Chinese people. The following describes how to install and beautify the fcitx little penguin input method.
1. Install fcitx
- Sudo apt-GetInstall fcitx im-Switch
Sudo apt-Get install fcitx im-Switch
2. Set fcitx to the default value (the command cannot use SUDO)
- Im-Switch-S fcitx-zDefault
Im-switch-s fcitx-Z default
3. restart the computer and modify the fcitx configuration file.
[C-sharp]
View plaincopyprint?
- Gedit ~ /. Fcitx/config
Gedit ~ /. Fcitx/config
In this case, gedit may be opened with garbled characters. If it is garbled, You need to modify the encoding method to open gconf-editor.
- Gconf-Editor
Gconf-Editor
Add gb18030 to auto_detected in/apps/gedit-2/preferences/encoding and pin it to the top. Now you can re-open ~ /. Fcitx/CONF file
4. The modified configuration file is as follows for your reference:
[C-sharp]
View plaincopyprint?
- [Program]
- Show font (medium) = Microsoft yahei
- Show font (English) = Courier New
- Show font size = 12
- Main Window Font size = 9
- Font area = zh_CN.UTF-8
- Use AA font = 1
- Use bold = 1
- Use Tray Icon = 1
- [Output]
- Digit followed by halfwidth symbol = 1
- Enter key behavior = 2
- Semicolon key behavior = 2
- Uppercase letters = 1
- Punctuation in English conversion = 1
- Page flip prohibited by Lenovo mode = 1
- [Interface]
- Number of candidate words = 5
- Whether to use the 3D interface for the Main Window = 0
- Enter 3D interface = 0
- Main Window hiding mode = 1
- Show virtual keyboard = 0
- Whether to hide input entries automatically = 1
- Whether the input entry is centered = 0
- First display input = 1
- # Fixed width of the input entry (only applicable to the code table input method). 0 indicates unfixed width.
- Input fixed width = 0
- Input offset x = 0
- Input offset y = 12
- Add after serial number = 1
- Show typing speed = 1
- Show version = 1
- Cursor color = 102 159 66
- Main Window background color = 255 255 255
- Main Window line color = 255 255 255
- Main Window input method name color = 153 153 153 102 159 66 56 134 230
- Input window background color = 255 255 255
- Input window color = 2 89 196
- Input window user input color = 255 0 132
- Input window Serial No. Color = 0 66 200
- First candidate color in the input window = 0 99 200
- # This color value is only used for user self-creation in pinyin.
- Input window, user phrase color = 0 99 200
- Input window prompts encoding color = 255 0 132
- # This color is used for five or more Chinese/system phrases.
- Other text color in the input window = 56 134 230
- Input window line color = 255 255 255
- Input window arrow color = 193 227 151
- Virtual Keyboard window background color = 220 220 220
- Letter color of the virtual keyboard window = 80 0 0
- Virtual Keyboard window symbol color = 0 0 0
- # Except for "quick switch between Chinese and English", other hotkeys can be set to two, separated by Spaces
- [Hotkey]
- Enable/disable input = ctrl_space
- # You can set the shortcut key to l_ctrl r_ctrl l_shift r_shift l_super r_super.
- Quick Switch key = l_shift
- Double-click switch between Chinese and English = 0
- Key interval = 250
- Cursor follows = ctrl_k
- Hide Main Window = ctrl_alt_h
- Switch the virtual keyboard = ctrl_alt_k
- GBK supports = ctrl_m
- GBK traditional switch key = ctrl_alt_f
- Lenovo = ctrl_l
- Lookup pinyin = ctrl_alt_e
- Full halfwidth = shift_space
- Chinese Punctuation = alt_space
- Previous Page =,
- Next page =.
- Third-party candidate word selection key = 0
- [Input method]
- Use Pinyin = 1
- Pinyin name = smart pinyin
- Phrase = 1 in the prompt dictionary
- Other input methods =
- [Pinyin]
- Use full join = 0
- Pinyin automatic group word = 1
- Save automatic group word = 0
- Add commonly used Chinese characters in pinyin = ctrl_8
- Delete common pinyin characters = ctrl_7
- Delete pinyin user phrase = ctrl_delete
- # Pinyin is a fixed word key, followed by an equal sign. Do not have spaces
- Pinyin: fixed word key = []
- # How to adjust the re-code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by Frequency
- Pinyin single-character duplicate code adjustment method = 2
- Pinyin phrase re-encoding adjustment method = 1
- Method for adjusting the frequently-used Chinese characters in pinyin = 0
- Blur an and Ang = 0
- Fuzzy en and ENG = 0
- Fuzzy Ian and IANG = 0
- FuzzyInAnd ing = 0
- Fuzzy ou and u = 0
- Fuzzy UAN and Uang = 0
- Fuzzy C and CH = 0
- Blur F and H = 0
- Blur L and n = 0
- Blur S and SH = 0
- Fuzzy Z and ZH = 0
[Program] <br/> display font (medium) = Microsoft yahei <br/> display font (English) = Courier New <br/> show font size = 12 <br/> Main Window Font size = 9 <br/> font area = zh_CN.UTF-8 <br/> Use AA font = 1 <br /> Use bold = 1 <br/> Use Tray Icon = 1 <br/> [Output] <br/> number followed by halfwidth symbol = 1 <br/> enter key behavior = 2 <br/> semicolon key behavior = 2 <br/> uppercase letters: English = 1 <br/> punctuation in English conversion = 1 <br/> page turning is prohibited in Lenovo mode = 1 <br/> [interface] <br/> Number of candidate words = 5 <br/> whether to use the 3D interface in the main window = 0 <br/> enter a 3D interface = 0 <br /> hidden mode of the Main Window = 1 <br/> display virtual keyboard = 0 <br/> whether to hide the input bar automatically = 1 <br/> whether the input bar is centered = 0 <br/> display input entries for the first time = 1 <br/> # fixed width of input entries (applicable only to the code table input method ), 0 indicates non-fixed width. <br/> fixed input width = 0 <br/> offset of input bars x = 0 <br/> offset of input bars y = 12 <br/> NO. add up to = 1 <br/> show typing speed = 1 <br/> show version = 1 <br/> cursor color = 102 159 66 <br/> main window background color = 255 255 255 <br/> Main Window line color = 255 255 255 <br/> Main Window input method name color = 153 153 153 102 159 66 56 134 230 <br/> input window background color = 255 255 255 <br/> color of the input window = 2 89 196 <br/> color of the user input in the input window = 255 0 132 <br/> color of the input window serial number = 0 66 200 <br /> the first candidate color in the input window = 0 99 200 <br/> # The color value is only used for user self-creation in pinyin. <br/> the user phrase color in the input window is 0 99. 200 <br/> the input window prompts encoding color = 255 0 132 <br/> # This color is used for five or more Chinese/system phrases. <br/> other text colors in the input window = 56 134 230 <br/> input window line color = 255 255 255 <br/> input window arrow color = 193 227 151 220 <br/> virtual keyboard window background color = 220 220 <br/> letter color of the virtual keyboard window = 80 0 0 <br/> symbol color of the virtual keyboard window = 0 0 0 0 <br/> # apart from "quick switch between Chinese and English, other hotkeys can be set to two, separated by spaces <br/> [hotkey] <br/> enable/disable the input method = ctrl_space <br/> # You can set the shortcut key to Rochelle CTRL r_ctrl l_shift r_shift l_super r_super. <br /> l_ = l_shift <br/> double-click = 0 <br/> time interval = 250 <br/> cursor follow = ctrl_k <br/> hide the main window = ctrl_alt_h <br/> switch to virtual keyboard = ctrl_alt_k <br/> GBK support = ctrl_m <br/> GBK traditional switch key = ctrl_alt_f <br/> Lenovo = ctrl_l <br/> reverse query pinyin = ctrl_alt_e <br/> full width = shift_space <br/> Chinese Punctuation = alt_space <br/> Previous Page =, <br/> next page =. <br/> third-party candidate word selection key = 0 <br/> [input method] <br/> use Pinyin = 1 <br/> pinyin name = smart pinyin <br/> prompt phrases in the Lexicon = 1 <br/> other input methods = <br/> [pinyin] <br/> use full spelling = 0 <br/> pinyin automatic group words = 1 <br/> save automatic group words = 0 <br/> Add common pinyin words = ctrl_8 <br/> Delete common pinyin words = ctrl_7 <br/> Delete pinyin user phrase = ctrl_delete <br/> # pinyin keyword key, the equals sign is followed by the key and does not contain spaces. <br/> pinyin uses the fixed character key = [] <br/> # how to adjust the duplicate code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by frequency <br/> adjust the method of re-encoding of a single pinyin word = 2 <br/> adjust the re-encoding of A pinyin phrase = 1 <br /> adjust the encoding method for common Chinese Characters in pinyin by mistake = 0 <br/> blur an and Ang = 0 <br/> blur en and ENG = 0 <br/> blur Ian and IANG = 0 <br/> fuzzy in and ing = 0 <br/> fuzzy ou and u = 0 <br/> fuzzy UAN and Uang = 0 <br/> Fuzzy C and CH = 0 <br/> fuzzy F and H = 0 <br/> fuzzy L and n = 0 <br/> fuzzy S and SH = 0 <br/> fuzzy Z and ZH = 0
Note: To set the display font of the Input Method to Microsoft yahei, you must first install the corresponding font. For more information, see:
Http://blog.csdn.net/wangjingfei/archive/2010/05/21/5614203.aspx
See: http://www.fcitx.org/download/fcitx3.pdf for detailed configuration instructions
5. Restart X-window to use the penguin input method!