编辑 /etc/X11/xinit/xinput.d/zh_CN,将内容改为如下 ,启动时输入法就是fcitx
# im-switch configuration file for scim
# should be installed as /etc/X11/xinit/xinput.d/scim
# this configuration uses GTK IM module and Qt IM module provided by SCIM
# exported enviroment variables
XMODIFIERS="@im=fcitx"
GTK_IM_MODULE="fcitx"
QT_IM_MODULE="fcitx"
# command and arguments to invoke scim
XIM_PROGRAM="/usr/bin/fcitx"
XIM_ARGS="--daemon"
# package dependency (note that the format used here is not environment
# variable, but some format for libapt-pkg-perl and is parsed by grep,
# so can't be quoted, and no spaces allowed)
#DEPENDS=scim-gtk2-immodule,scim-qtimm
# im-switch configuration file for scim
# should be installed as /etc/X11/xinit/xinput.d/scim
# this configuration uses GTK IM module and Qt IM module provided by SCIM
# exported enviroment variables
XMODIFIERS="@im=fcitx"
GTK_IM_MODULE="fcitx"
QT_IM_MODULE="fcitx"
# command and arguments to invoke scim
XIM_PROGRAM="/usr/bin/fcitx"
XIM_ARGS="--daemon"
# package dependency (note that the format used here is not environment
# variable, but some format for libapt-pkg-perl and is parsed by grep,
# so can't be quoted, and no spaces allowed)
#DEPENDS=scim-gtk2-immodule,scim-qtimm