/usr/share/im-config/data/80_kinput2.rc is in im-config 0.27-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # start kinput2
# vim: set sts=4 expandtab:
# Since this is not so used, I only provide canna case only.
# No one uses freewnn-jserver.
if [ "$IM_CONFIG_PHASE" = 2 ]; then
# start kinput2 daemon
if [ -x /usr/bin/kinput2-canna ]; then
/usr/bin/kinput2-canna -xim &
elif [ -x /usr/bin/kinput2-canna-wnn ]; then
/usr/bin/kinput2-canna-wnn -canna -xim &
# Alternatively, you can cusomize this as:
# /usr/bin/kinput2-canna-wnn -wnn -xim &
fi
fi
if [ "$IM_CONFIG_PHASE" = 1 ]; then
XMODIFIERS=@im=kinput2
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
CLUTTER_IM_MODULE=xim
fi
|