星期五, 八月 20, 2010

英文环境下的IBUS配置讲解

2009/07/25 下午 12:09
为了适应英文环境,我开始使用英文的UBUNTU,虽然选中了“为复杂语言提供支持(原句忘了)”但是,ibus在正常安装之后还是无法调用,这时你可能就需要看一下这个讲解了。

首先,你可以看看UBUNTU自带的帮助文件关于im-switch的解释,虽然是英文的,但是你可能已经大致了解了此命令的用法。顺便说一下,我很反对一有问题就去论坛上搜文章,因为Linux环境复杂,就算都是Ubuntu也不一定和你的配置相同,别人的方法不仅有可能无效,甚至可能搞乱你的系统。

现在,看一下我的终端记录,很详细,相信你已经搞懂了。

lee@lee-laptop:~$ im-switch -c ibus

There are 12 candidates which provide IM for /home/lee/.xinput.d/en_US:

Selection    Alternative
-----------------------------------------------
+    1        default
      2        default-xim
*     3        ibus
      4        ibus-qt4
      5        none
      6        scim
      7        scim-bridge
      8        scim-chewing
      9        scim-immodule
      10        scim-pinyin
      11        th-xim
      12        ~/.xinput.d/xinput-all_ALL 
System wide default for en_US (or all_ALL) locale is marked with [+].
Press enter to keep the current selection[*], or type selection number: 3

Please install following packages:
"( ibus-gtk )" .
lee@lee-laptop:~$ sudo apt-get install ibus-gtk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
libchewing3-data libchewing3 ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
ibus-gtk
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 12.4kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Get:1 http://ubuntu.cn99.com jaunty/universe ibus-gtk 0.1.1.20081023-0ubuntu5 [12.4kB]
Fetched 12.4kB in 0s (43.0kB/s)
Selecting previously deselected package ibus-gtk.
(Reading database ... 105167 files and directories currently installed.)
Unpacking ibus-gtk (from .../ibus-gtk_0.1.1.20081023-0ubuntu5_i386.deb) ...
Setting up ibus-gtk (0.1.1.20081023-0ubuntu5) ...
lee@lee-laptop:~$ 

没有评论: