unable to use fcitx in 8.04( locale=en )

为当前最终发行版之前的所有版本提供支持
回复
lk_517
帖子: 200
注册时间: 2006-07-23 15:02
送出感谢: 0
接收感谢: 0
联系:

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
送出感谢: 0
接收感谢: 0
联系:

#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
来自: 江苏
送出感谢: 0
接收感谢: 0
联系:

#3

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

跟偶一开始一样!

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

#4

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

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

#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
帖子: 2059
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
送出感谢: 20 次
接收感谢: 6 次
联系:

#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
送出感谢: 0
接收感谢: 1 次

#7

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

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

回到 “老旧版本支持”