Ubuntu 10.04 little penguin Input Method Installation

Source: Internet
Author: User
Tags lenovo

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

  1. 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)

  1. 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?
  1. 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.

  1. 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?
  1. [Program]
  2. Show font (medium) = Microsoft yahei
  3. Show font (English) = Courier New
  4. Show font size = 12
  5. Main Window Font size = 9
  6. Font area = zh_CN.UTF-8
  7. Use AA font = 1
  8. Use bold = 1
  9. Use Tray Icon = 1
  10. [Output]
  11. Digit followed by halfwidth symbol = 1
  12. Enter key behavior = 2
  13. Semicolon key behavior = 2
  14. Uppercase letters = 1
  15. Punctuation in English conversion = 1
  16. Page flip prohibited by Lenovo mode = 1
  17. [Interface]
  18. Number of candidate words = 5
  19. Whether to use the 3D interface for the Main Window = 0
  20. Enter 3D interface = 0
  21. Main Window hiding mode = 1
  22. Show virtual keyboard = 0
  23. Whether to hide input entries automatically = 1
  24. Whether the input entry is centered = 0
  25. First display input = 1
  26. # Fixed width of the input entry (only applicable to the code table input method). 0 indicates unfixed width.
  27. Input fixed width = 0
  28. Input offset x = 0
  29. Input offset y = 12
  30. Add after serial number = 1
  31. Show typing speed = 1
  32. Show version = 1
  33. Cursor color = 102 159 66
  34. Main Window background color = 255 255 255
  35. Main Window line color = 255 255 255
  36. Main Window input method name color = 153 153 153 102 159 66 56 134 230
  37. Input window background color = 255 255 255
  38. Input window color = 2 89 196
  39. Input window user input color = 255 0 132
  40. Input window Serial No. Color = 0 66 200
  41. First candidate color in the input window = 0 99 200
  42. # This color value is only used for user self-creation in pinyin.
  43. Input window, user phrase color = 0 99 200
  44. Input window prompts encoding color = 255 0 132
  45. # This color is used for five or more Chinese/system phrases.
  46. Other text color in the input window = 56 134 230
  47. Input window line color = 255 255 255
  48. Input window arrow color = 193 227 151
  49. Virtual Keyboard window background color = 220 220 220
  50. Letter color of the virtual keyboard window = 80 0 0
  51. Virtual Keyboard window symbol color = 0 0 0
  52. # Except for "quick switch between Chinese and English", other hotkeys can be set to two, separated by Spaces
  53. [Hotkey]
  54. Enable/disable input = ctrl_space
  55. # You can set the shortcut key to l_ctrl r_ctrl l_shift r_shift l_super r_super.
  56. Quick Switch key = l_shift
  57. Double-click switch between Chinese and English = 0
  58. Key interval = 250
  59. Cursor follows = ctrl_k
  60. Hide Main Window = ctrl_alt_h
  61. Switch the virtual keyboard = ctrl_alt_k
  62. GBK supports = ctrl_m
  63. GBK traditional switch key = ctrl_alt_f
  64. Lenovo = ctrl_l
  65. Lookup pinyin = ctrl_alt_e
  66. Full halfwidth = shift_space
  67. Chinese Punctuation = alt_space
  68. Previous Page =,
  69. Next page =.
  70. Third-party candidate word selection key = 0
  71. [Input method]
  72. Use Pinyin = 1
  73. Pinyin name = smart pinyin
  74. Phrase = 1 in the prompt dictionary
  75. Other input methods =
  76. [Pinyin]
  77. Use full join = 0
  78. Pinyin automatic group word = 1
  79. Save automatic group word = 0
  80. Add commonly used Chinese characters in pinyin = ctrl_8
  81. Delete common pinyin characters = ctrl_7
  82. Delete pinyin user phrase = ctrl_delete
  83. # Pinyin is a fixed word key, followed by an equal sign. Do not have spaces
  84. Pinyin: fixed word key = []
  85. # How to adjust the re-code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by Frequency
  86. Pinyin single-character duplicate code adjustment method = 2
  87. Pinyin phrase re-encoding adjustment method = 1
  88. Method for adjusting the frequently-used Chinese characters in pinyin = 0
  89. Blur an and Ang = 0
  90. Fuzzy en and ENG = 0
  91. Fuzzy Ian and IANG = 0
  92. FuzzyInAnd ing = 0
  93. Fuzzy ou and u = 0
  94. Fuzzy UAN and Uang = 0
  95. Fuzzy C and CH = 0
  96. Blur F and H = 0
  97. Blur L and n = 0
  98. Blur S and SH = 0
  99. 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

  1. 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)

  1. 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?
  1. 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.

  1. 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?
  1. [Program]
  2. Show font (medium) = Microsoft yahei
  3. Show font (English) = Courier New
  4. Show font size = 12
  5. Main Window Font size = 9
  6. Font area = zh_CN.UTF-8
  7. Use AA font = 1
  8. Use bold = 1
  9. Use Tray Icon = 1
  10. [Output]
  11. Digit followed by halfwidth symbol = 1
  12. Enter key behavior = 2
  13. Semicolon key behavior = 2
  14. Uppercase letters = 1
  15. Punctuation in English conversion = 1
  16. Page flip prohibited by Lenovo mode = 1
  17. [Interface]
  18. Number of candidate words = 5
  19. Whether to use the 3D interface for the Main Window = 0
  20. Enter 3D interface = 0
  21. Main Window hiding mode = 1
  22. Show virtual keyboard = 0
  23. Whether to hide input entries automatically = 1
  24. Whether the input entry is centered = 0
  25. First display input = 1
  26. # Fixed width of the input entry (only applicable to the code table input method). 0 indicates unfixed width.
  27. Input fixed width = 0
  28. Input offset x = 0
  29. Input offset y = 12
  30. Add after serial number = 1
  31. Show typing speed = 1
  32. Show version = 1
  33. Cursor color = 102 159 66
  34. Main Window background color = 255 255 255
  35. Main Window line color = 255 255 255
  36. Main Window input method name color = 153 153 153 102 159 66 56 134 230
  37. Input window background color = 255 255 255
  38. Input window color = 2 89 196
  39. Input window user input color = 255 0 132
  40. Input window Serial No. Color = 0 66 200
  41. First candidate color in the input window = 0 99 200
  42. # This color value is only used for user self-creation in pinyin.
  43. Input window, user phrase color = 0 99 200
  44. Input window prompts encoding color = 255 0 132
  45. # This color is used for five or more Chinese/system phrases.
  46. Other text color in the input window = 56 134 230
  47. Input window line color = 255 255 255
  48. Input window arrow color = 193 227 151
  49. Virtual Keyboard window background color = 220 220 220
  50. Letter color of the virtual keyboard window = 80 0 0
  51. Virtual Keyboard window symbol color = 0 0 0
  52. # Except for "quick switch between Chinese and English", other hotkeys can be set to two, separated by Spaces
  53. [Hotkey]
  54. Enable/disable input = ctrl_space
  55. # You can set the shortcut key to l_ctrl r_ctrl l_shift r_shift l_super r_super.
  56. Quick Switch key = l_shift
  57. Double-click switch between Chinese and English = 0
  58. Key interval = 250
  59. Cursor follows = ctrl_k
  60. Hide Main Window = ctrl_alt_h
  61. Switch the virtual keyboard = ctrl_alt_k
  62. GBK supports = ctrl_m
  63. GBK traditional switch key = ctrl_alt_f
  64. Lenovo = ctrl_l
  65. Lookup pinyin = ctrl_alt_e
  66. Full halfwidth = shift_space
  67. Chinese Punctuation = alt_space
  68. Previous Page =,
  69. Next page =.
  70. Third-party candidate word selection key = 0
  71. [Input method]
  72. Use Pinyin = 1
  73. Pinyin name = smart pinyin
  74. Phrase = 1 in the prompt dictionary
  75. Other input methods =
  76. [Pinyin]
  77. Use full join = 0
  78. Pinyin automatic group word = 1
  79. Save automatic group word = 0
  80. Add commonly used Chinese characters in pinyin = ctrl_8
  81. Delete common pinyin characters = ctrl_7
  82. Delete pinyin user phrase = ctrl_delete
  83. # Pinyin is a fixed word key, followed by an equal sign. Do not have spaces
  84. Pinyin: fixed word key = []
  85. # How to adjust the re-code: 0 --> do not adjust 1 --> quickly adjust 2 --> adjust by Frequency
  86. Pinyin single-character duplicate code adjustment method = 2
  87. Pinyin phrase re-encoding adjustment method = 1
  88. Method for adjusting the frequently-used Chinese characters in pinyin = 0
  89. Blur an and Ang = 0
  90. Fuzzy en and ENG = 0
  91. Fuzzy Ian and IANG = 0
  92. FuzzyInAnd ing = 0
  93. Fuzzy ou and u = 0
  94. Fuzzy UAN and Uang = 0
  95. Fuzzy C and CH = 0
  96. Blur F and H = 0
  97. Blur L and n = 0
  98. Blur S and SH = 0
  99. 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!

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.