/usr/share/im-config/data/80_xsunpinyin.rc is in im-config 0.30-1.
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 | # start xsunpinyin
# vim: set sts=4 expandtab:
if [ "$IM_CONFIG_PHASE" = 2 ]; then
# start xsunpinyin daemon
/usr/bin/xsunpinyin -d
fi
if [ "$IM_CONFIG_PHASE" = 1 ]; then
# set variables for the plain XIM
XMODIFIERS=@im=xsunpinyin
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
CLUTTER_IM_MODULE=xim
fi
|