个人工具

“UbuntuHelp:SCIM/Chinese”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的3个中间版本)
第3行: 第3行:
 
  *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
 
*This page is a simple way to install SCIM without installing additional Language Support Packets
*Read [[UbuntuHelp:SCIM]] for more detail.
+
*Read [[UbuntuHelp:SCIM|SCIM]] for more detail.
*Before you continue, you may need some basic configuration of your new Ubuntu system. [[UbuntuHelp:Beginners/Guide/Feisty]]
+
*Before you continue, you may need some basic configuration of your new Ubuntu system.
 
+
 
Type in the terminal:
 
Type in the terminal:
 
<pre><nowiki>
 
<pre><nowiki>
第12行: 第11行:
 
</nowiki></pre>
 
</nowiki></pre>
 
Log out, then log in again. SCIM should be now the default input for all applications
 
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
If the second commandline doesn't work, try
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$locale | grep LANG=
 
$locale | grep LANG=
 
</nowiki></pre>
 
</nowiki></pre>
The anwer would be something like
+
The answer would be something like
 
<pre><nowiki>
 
<pre><nowiki>
LANG=en_GB.UTF-8
+
LANG=en_US.UTF-8
 
</nowiki></pre>
 
</nowiki></pre>
 
Type in the terminal:
 
Type in the terminal:
 
<pre><nowiki>
 
<pre><nowiki>
$im-switch -z YOUR LOCALE -s scim  # replace "YOUR LOCALE" by something like "en_GB"
+
$im-switch -z YOUR LOCALE -s scim  # replace "YOUR LOCALE" by something like "en_US.UTF-8"
 +
</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>
 
</nowiki></pre>
 
You must restart your X window (log out, then log in) to take effect.
 
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.
 
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的最新版本

*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.

Further Reading