txt 乱码

locale:en_US-utf8,fcitx在10.04能正常使用,一升级到10.10就用不了,搞到现在,发现是默认不是XIM的问题.文本输入的时候默认不是XIM,必须右键input Methods把system改成X Input Method,但是Firefox就不行了,因为右键菜单没有选择IM的选项。

另外,用im-switch能将fcitx设成默认,但是用指令sudo im-switch -s fcitx -z default就不行
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.


搞了一个下午搞到头都晕了,才想起问题都这么明显了还不去google。

现在就剩下
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.

这个问题

和10.04的时候开机会弹出的fcitx的设置hint,
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=xim
export GTK_IM_MODULE=xim

设置了之后每次开机还是会弹出的,any idea?是因为它不会自动侦测?还是?

作者: RolonoaZoro   发布时间: 2010-11-07

locale:en_US-utf8,fcitx在10.04能正常使用,一升级到10.10就用不了,搞到现在,发现是默认不是XIM的问题.文本输入的时候默认不是XIM,必须右键input Methods把system改成X Input Method,但是Firefox就不行了,因为右键菜单没有选择IM的选项。

另外,用im-switch能将fcitx设成默认,但是用指令sudo im-switch -s fcitx -z default就不行
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.


搞了一个下午搞到头都晕了,才想起问题都这么明显了还不去google。

现在就剩下
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.

这个问题

和10.04的时候开机会弹出的fcitx的设置hint,
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=xim
export GTK_IM_MODULE=xim

设置了之后每次开机还是会弹出的,any idea?是因为它不会自动侦测?还是?

作者: RolonoaZoro   发布时间: 2010-11-07

locale:en_US-utf8,fcitx在10.04能正常使用,一升级到10.10就用不了,搞到现在,发现是默认不是XIM的问题.文本输入的时候默认不是XIM,必须右键input Methods把system改成X Input Method,但是Firefox就不行了,因为右键菜单没有选择IM的选项。

另外,用im-switch能将fcitx设成默认,但是用指令sudo im-switch -s fcitx -z default就不行
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.


搞了一个下午搞到头都晕了,才想起问题都这么明显了还不去google。

现在就剩下
代码:
sudo im-switch -s fcitx -z default
No system wide default defined just for locale en_US .
Use "all_ALL" quasi-locale and set IM.
update-alternatives: error: alternative /etc/X11/xinit/xinput.d/fcitx for xinput-all_ALL not registered, not setting.

这个问题

和10.04的时候开机会弹出的fcitx的设置hint,
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=xim
export GTK_IM_MODULE=xim

设置了之后每次开机还是会弹出的,any idea?是因为它不会自动侦测?还是?

作者: RolonoaZoro   发布时间: 2010-11-07