fcitx question

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

fcitx question

#1

帖子 Palocc » 2009-05-12 16:02

I'm sorry that I cant type Chinese right now.

I uninstalled scim and try to install fcitx, and modified some files like

"update-alternatives --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL /etc/X11/xinit/xinput.d/fcitx 30
im-switch -z en_US.UTF-8 -s fcitx
然后修改下面的文件:
/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
把im-xim.so相关的项改为下面这样(即增加一个“en”),否则在en_US的locale下调不出输入法(如果使用zh_CN的locale就不必改了,不过我喜欢英文的locale,下面说明):
"/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"
firefox启动脚本里不要做改动,否则反而不能输入中文。 "

btw, my locale is :
"palocc@palocc-laptop:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL="


right now, I can see the fcitx bar on the top of my screen,(see the attachment), buy I don't konw how to active the Chinese input!
there's no response when I press ctrl+space or ctrl + shift.

what's the problem with it?
附件
sendpix0.jpg
sendpix0.jpg (7.12 KiB) 查看 213 次
bouluo505
帖子: 31
注册时间: 2009-04-29 12:46

Re: fcitx question

#2

帖子 bouluo505 » 2009-05-12 17:02

Same problem happened to me before...

You can add the language encode to your locale file which path is /var/lib/locales/supported.d/

Sometimes create new file named "zh" and "en" to store their language for each one !

here ,you should add the language encode containing "zh" in one of the above referred ones !

Any problem ,pls forward to WIKI of this website !
Good wish!
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: fcitx question

#3

帖子 adagio » 2009-05-12 17:19

just type

代码: 全选

im-switch -s fcitx
and edit ~/.fcitx/config ,modify "中文字体=<chinese font>"
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
头像
想入非非
帖子: 8078
注册时间: 2008-07-14 22:42
来自: Beijing
联系:

Re: fcitx question

#4

帖子 想入非非 » 2009-05-12 20:00

指定一个中文字体就行了,比如
[程序]
显示字体(中)=WenQuanYi Bitmap Song
显示字体(英)=WenQuanYi Bitmap Song
显示字体大小=9
主窗口字体大小=9
字体区域=zh_CN.UTF-8
使用AA字体=1
使用粗体=1
:em06
Ubuntu User
回复