level 1
求大神指点哪里出问题了,在网上从没看到有人说不能工作,都说好用。
或者有没有其他方法自动切换中英文状态?
2016年03月04日 10点03分
3
level 1
总结:
fcitx.vim中用到fcitx-remote命令来判断和切换输入法状态。用法如下:
Usage: fcitx-remote [OPTION]
-c inactivate input method
-o activate input method
-r reload fcitx config
-t,-T switch Active/Inactive
-e Ask fcitx to exit
-a print fcitx's dbus address
-m <imname> print corresponding addon name for im
-s <imname> switch to the input method uniquely identified by <imname>
[no option] display fcitx state, 0 for close, 1 for inactive, 2 for acitve
-h display this help and exit
但是我在命令行和vim中检验后发现,这一系列命令既不能 activate、inactivate、switch输入法状态。用shift键切换中英文状态,也不会改变fcitx state的值。
2016年03月23日 08点03分
4
level 1
问题解决了
fcitx的设置窗口有这么一句话“The first input method will be inactive state. Usually you need to put Keyboard or Keyboard-layout name in the first place.”
如果只有一个输入法,在命令行输入fcitx-diagnose命令后会提示错误:
“**You only have one input method enabled, please add a keyboard input method as the first one and your main input method as the second one.**
在输入法之前加上Keyboard-English(US),一切正常了。
2016年03月23日 13点03分
5