将fcitx设置为系统默认启动输入法
只需要修改在/etc/X11/xinit/xinit.d/下面的zh_CN文件就可以,发一下我的配置文件。
系统 Debian
#
# Use "X input Method" for all applications
#
# Per Ming's Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT appplication.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select "Input Methods" and change from "X input Method" to
# "SCIM Input Method".
#
XIM=fcitx
XIM_PROGRAM=/usr/bin/fcitx
XIM_ARGS="-d"
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
# Use "X input Method" for all applications
#
# Per Ming's Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT appplication.
#
# If a user wish to use, GTK Input Method, (s)he can right-click input
# area and select "Input Methods" and change from "X input Method" to
# "SCIM Input Method".
#
XIM=fcitx
XIM_PROGRAM=/usr/bin/fcitx
XIM_ARGS="-d"
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
最好备份一下源文件以备以后恢复用(Vim会自动帮你备份的),不过fcitx我觉得已经是相当好了,完全超过了紫光的准确度了。不过当然比不上现在 windows上最流行的搜狗输入法了。