/etc/X11/xinit/xinput.d/scim-immodule is in scim 1.4.9-7.
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 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | #
# This configuration file for SCIM is recommended.
#
# Use "X input method" for standard X applications
# Use "SCIM IM module" for GTK and Qt 3 applications if available
#
# Using this configuration may improve some usability for GTK applications
# such as the location of word selection window.
# You still need these XIM settings for non-GTK and non-Qt3 programs.
XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
XIM_PROGRAM_SETS_ITSELF_AS_DAEMON=yes
gtkimm_exists () {
# check if any immodules installed
for dir in /usr/lib*/gtk-2.0/2.*/immodules; do
if [ -r ${dir}/im-$1.so ]; then
return 0
fi
done
return 1
}
if gtkimm_exists scim-bridge; then
GTK_IM_MODULE=scim-bridge
elif gtkimm_exists scim; then
GTK_IM_MODULE=scim
else
GTK_IM_MODULE=xim
fi
qtimm_exists () {
# check if any immodule installed
for dir in /usr/lib*/qt*/plugins/inputmethods; do
if [ -r ${dir}/$1.so ]; then
return 0
fi
done
return 1
}
if qtimm_exists im-scim-bridge; then
QT_IM_MODULE=scim-bridge
elif qtimm_exists libqscim; then
QT_IM_MODULE=scim
else
QT_IM_MODULE=xim
fi
DEPENDS="scim,scim-gtk2-immodule,scim-qtimm,scim-anthy|scim-canna|scim-chewing|scim-pinyin|scim-hangul|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"
|