unable to use fcitx in 8.04( locale=en )

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
联系:

unable to use fcitx in 8.04( locale=en )

#1

帖子 lk_517 » 2007-12-17 14:06

Well, I just installed 8.04 on my T43 notebook, and I uninstalled scim for I don't be customed to it. I installed fcitx as follow steps

1 sudo apt-get install fcitx

2 sudo im-switch -s fcitx.

the error information was displayed : "update-alternatives: Cannot find alternative `/etc/X11/xinit/xinput.d/fcitx'. "

and it was resolved by the command "update-alternatives --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/fcitx 30 "

3 im-switch -s fcitx

4 since my locale is English rather than Chinese, I did the modification as follow:

sudo gedit /etc/gtk-2.0/gtk.immodules

corrected

“/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so”
“xim” “X Input Method” “gtk20″ “/usr/share/locale” “ko:ja:th:zh”

to

“/usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so”
“xim” “X Input Method” “gtk20″ “/usr/share/locale” “en:ko:ja:th:zh”

Say, added a "en".

5 reboot.

To the best of my knowledge, it should work on my system. But unfortunately it doesn't work. Does anybody met this kind of problem before and know the reason?

Your help will be appreciated.
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
联系:

#2

帖子 lk_517 » 2007-12-17 14:10

These are the information of my locale

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
头像
Beetle
帖子: 1637
注册时间: 2005-10-14 16:55
系统: OS X
来自: 江苏
联系:

#3

帖子 Beetle » 2007-12-17 21:27

跟偶一开始一样!

在GDM登录前,把语言选成US或者GB就好了~~
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
联系:

#4

帖子 lk_517 » 2007-12-17 21:48

奇怪,是这样的,不过为什么?
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
联系:

#5

帖子 lk_517 » 2007-12-20 0:59

似乎是要改lang,成功后用export看

declare -x LANG="zh_CN.UTF-8"
declare -x LANGUAGE="zh_CN:zh:en_US:en"

以前是C
头像
sevk
帖子: 2060
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
联系:

#6

帖子 sevk » 2008-01-12 17:10

换源,语言支持里面CHINESE构上.
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
2unc
帖子: 191
注册时间: 2006-10-18 17:48

#7

帖子 2unc » 2008-04-19 15:40

没有这个文件了/etc/gtk-2.0/gtk.immodules
回复