Arch下fcitx的问题 - GNOME环境

系统字体配置、中文显示和输入法问题
回复
头像
alpha.gu
帖子: 1456
注册时间: 2006-09-10 16:06
联系:

Arch下fcitx的问题 - GNOME环境

#1

帖子 alpha.gu » 2009-07-18 19:04

之前用Arch,我用的是LXDE环境,没有用启动管理器,比如GDM之类,所以,fcitx的启动是放在.xinitrc当中的。
当在.xinitrc当中用“fcitx -d”来启动fcitx的时候,从桌面环境退出,再用startx进入桌面环境,可能会导致fcitx进程增加,后来直接用“fcitx”来启动fcitx程序,则不会有这样的情况。
最近换了GNOME,使用了GDM,只要注销了用户,然后再从GDM登录,则fcitx进程又会增加。
fcitx的启动不管是写在/etc/profile.d或者~/.xprofile,或者~/.profile当中,情况都是一样,而如果用传统的/etc/X11/xinit/xinput.d的方式,则无法启动fcitx。
有没有了解Arch的人,给一个方法,可以让fcitx不要启动多次。
用了:
killall fcitx
fcitx
这样的方式,可是也没有作用,似乎killall fcitx根本不会杀掉fcitx进程,可不可以在以上的启动文件中作判断,如果fcitx进程已经存在,则不再重新运行?
头像
O_O_BOT
帖子: 2461
注册时间: 2009-05-20 19:32

Re: Arch下fcitx的问题 - GNOME环境

#2

帖子 O_O_BOT » 2009-07-18 19:08

irc <yuishy_> say: 直接 fcitx & 好了
irc 聊天室
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录

http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
头像
O_O_BOT
帖子: 2461
注册时间: 2009-05-20 19:32

Re: Arch下fcitx的问题 - GNOME环境

#3

帖子 O_O_BOT » 2009-07-18 19:12

irc <fvw> say: startx 如果home下面有.xinitrc 那么/etc/X11/Ssession.d的东西就会忽略 所以im-switch也无法被调用了 把.xinirc rm把
irc 聊天室
ubuntu-cn 的irc 频道为
irc.ubuntu.com 8001 #ubuntu-cn
UTF8编码 可用 irssi xchat pidgin weechat 登录

http://webchat.freenode.net/?channels=ubuntu-cn
[url]irc://irc.freenode.net/ubuntu-cn[/url]
头像
hjhee
帖子: 418
注册时间: 2008-03-08 8:07

Re: Arch下fcitx的问题 - GNOME环境

#4

帖子 hjhee » 2009-07-18 19:25

同样的问题, 我重启动X时/tmp/fcitx.log会不断增大(FCITX -- Get Signal No.: 15 (Sat 2009-07-18 19:28:35 CST)),只能chmod 000 /tmp/fcitx.log制止
头像
kunkun0217
帖子: 441
注册时间: 2007-11-14 17:39
联系:

Re: Arch下fcitx的问题 - GNOME环境

#5

帖子 kunkun0217 » 2009-07-18 19:51

这不单单是fcitx在arch上的问题。ubuntu上也是这个样子
头像
alpha.gu
帖子: 1456
注册时间: 2006-09-10 16:06
联系:

Re: Arch下fcitx的问题 - GNOME环境

#6

帖子 alpha.gu » 2009-07-18 20:39

没有.xinitrc的话,写在Xsession.d下面有用吗?用什么95xinput这样的写法?
头像
gza633
帖子: 799
注册时间: 2009-03-13 14:26

Re: Arch下fcitx的问题 - GNOME环境

#7

帖子 gza633 » 2009-07-18 21:48

wiki和linuxsir上有很多很详细的介绍
头像
alpha.gu
帖子: 1456
注册时间: 2006-09-10 16:06
联系:

Re: Arch下fcitx的问题 - GNOME环境

#8

帖子 alpha.gu » 2009-07-19 13:59

killall -9 fcitx
fcitx

这样管用,不用再像以前一样写成“fcitx&”,应该从很早前的版本起,fcitx默认就是后台运行的。
回复