个人工具

“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.
*在这里,我们将告诉你如何在不安装语言支持包的情况下安装SCIM中文输入
+
*This page is a simple way to install SCIM without installing additional Language Support Packets
*阅读 [[UbuntuHelp:SCIM]] 以获得更多信息l.
+
*Read [[UbuntuHelp:SCIM|SCIM]] for more detail.
*在开始之前,你可能需要对你的ubuntu新系统做一些基本配置,参考[[UbuntuHelp:Beginners/Guide/Feisty]]
+
*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>
注销再登陆. 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
如果第二条命令无法工作,运行:
+
 
<pre><nowiki>
 
<pre><nowiki>
 
$locale | grep LANG=
 
$locale | grep LANG=
 
</nowiki></pre>
 
</nowiki></pre>
这里将显示你的LANG设置,像下面这种样子
+
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:
 
<pre><nowiki>
 
<pre><nowiki>
$im-switch -z YOUR LOCALE -s scim  #用你在上面一条命令显示的结果代替"YOUR LOCALE" ,如我们上面的结果是"en_GB"
+
$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"
现在,你可以按住"Ctrl+blank"在scim中切换中英文输入了.
+
</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的最新版本

*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