“UbuntuHelp:SCIM/Chinese”的版本间的差异
来自Ubuntu中文
小 |
|||
(未显示3个用户的6个中间版本) | |||
第2行: | 第2行: | ||
{{Languages|UbuntuHelp:SCIM/Chinese}} | {{Languages|UbuntuHelp:SCIM/Chinese}} | ||
*Chinese character input require SCIM. | *Chinese character input require SCIM. | ||
− | * | + | *This page is a simple way to install SCIM without installing additional Language Support Packets |
− | * | + | *Read [[UbuntuHelp:SCIM|SCIM]] for more detail. |
− | * | + | *Before you continue, you may need some basic configuration of your new Ubuntu system. |
− | + | Type in the terminal: | |
− | + | ||
<pre><nowiki> | <pre><nowiki> | ||
$sudo apt-get install scim-qtimm im-switch scim-pinyin | $sudo apt-get install scim-qtimm im-switch scim-pinyin | ||
$im-switch -z en_US -s scim | $im-switch -z en_US -s scim | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | Log out, then log in again. SCIM should be now the default input for all applications | |
− | + | If the second command line doesn't work, try | |
− | + | ||
<pre><nowiki> | <pre><nowiki> | ||
$locale | grep LANG= | $locale | grep LANG= | ||
</nowiki></pre> | </nowiki></pre> | ||
− | + | The answer would be something like | |
<pre><nowiki> | <pre><nowiki> | ||
− | LANG= | + | LANG=en_US.UTF-8 |
</nowiki></pre> | </nowiki></pre> | ||
− | + | Type in the terminal: | |
<pre><nowiki> | <pre><nowiki> | ||
− | $im-switch -z YOUR LOCALE -s scim # | + | $im-switch -z YOUR LOCALE -s scim # replace "YOUR LOCALE" by something like "en_US.UTF-8" |
</nowiki></pre> | </nowiki></pre> | ||
− | + | For Ubuntu 8.04 Hardy Heron or any later version, you might want to try this if the commands stated as above doesn't work: | |
− | + | <pre><nowiki> | |
− | + | $im-switch -z YOUR LOCALE -s scim-bridge # replace "YOUR LOCALE" by something like "en_US.UTF-8" | |
− | + | </nowiki></pre> | |
+ | For example: | ||
+ | <pre><nowiki> | ||
+ | $im-switch -z en_US.UTF-8 -s scim-bridge | ||
+ | </nowiki></pre> | ||
+ | You must restart your X window (log out, then log in) to take effect. | ||
+ | You can press "Ctrl+blank" to switch between English and Chinese input mode now in all applications. | ||
== Further Reading == | == Further Reading == | ||
*https://help.ubuntu.com/community/SCIM?highlight=%28scim%29 | *https://help.ubuntu.com/community/SCIM?highlight=%28scim%29 |
2009年11月17日 (二) 20:34的最新版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
*Chinese character input require SCIM.
- This page is a simple way to install SCIM without installing additional Language Support Packets
- Read SCIM for more detail.
- Before you continue, you may need some basic configuration of your new Ubuntu system.
Type in the terminal:
$sudo apt-get install scim-qtimm im-switch scim-pinyin $im-switch -z en_US -s scim
Log out, then log in again. SCIM should be now the default input for all applications If the second command line doesn't work, try
$locale | grep LANG=
The answer would be something like
LANG=en_US.UTF-8
Type in the terminal:
$im-switch -z YOUR LOCALE -s scim # replace "YOUR LOCALE" by something like "en_US.UTF-8"
For Ubuntu 8.04 Hardy Heron or any later version, you might want to try this if the commands stated as above doesn't work:
$im-switch -z YOUR LOCALE -s scim-bridge # replace "YOUR LOCALE" by something like "en_US.UTF-8"
For example:
$im-switch -z en_US.UTF-8 -s scim-bridge
You must restart your X window (log out, then log in) to take effect. You can press "Ctrl+blank" to switch between English and Chinese input mode now in all applications.