LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 682|回复: 3

please help me with the fcitx installing

[复制链接]
发表于 2006-7-19 16:44:23 | 显示全部楼层 |阅读模式
i have tried so many times,but the fcitx just does't work under my gnome.
i have googled some websites and tried some ways,
like creating a file under /etc/X11/Xsession.d/ with some export commands ,
or just editting the /etc/X11/Xsession file.
i use ctrl + space to change my input method after i startx,bu it doesn't work.
nothing happens when i edit my text file,still English ,no Chinese
i don't know why and how to fix it.
i need some help.
发表于 2006-7-19 16:55:04 | 显示全部楼层
1.
$ aptitude install locales
or
$ dpkg-reconfigure locales
$ locale -a
  1. C
  2. en_US
  3. en_US.iso88591
  4. POSIX
  5. [color=red]zh_CN.utf8[/color]
复制代码

2.
$ vi ~/.xsession
  1. export LANG=zh_CN.UTF-8
  2. # fcitx chinese input method
  3. export XMODIFIERS=@im=fcitx
  4. fcitx &
  5. exec gnome-session
复制代码

3.
$ startx

or use gdm as your loader manager.
回复 支持 反对

使用道具 举报

发表于 2006-7-19 16:55:17 | 显示全部楼层
#apt-get install fcitx
#sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
#chmod +755 /etc/X11/Xsession.d/95xinput
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-7-19 20:31:52 | 显示全部楼层
i type the command
#locale -a
and the output informatios is:

C
en_US
en_US.iso88591
POSIX
zh_CN
zh_CN.gb2312

below the POSIX we can see are:
zh_CN
zh_CN.gb2312

is here something wrong?
may it be the mistake from my dpkg-reconfigure locales?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表