/usr/share/upstart/sessions/im-config.conf is in im-config 0.24-1ubuntu4.
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 | description "Launch and configure input method"
author "Stéphane Graber <stgraber@ubuntu.com>"
start on starting xsession-init and started dbus
pre-start script
if [ "$IM_CONFIG_PHASE" = 1 ]; then
IM_CONFIG_PHASE=2
# initialize all im-config common functions and parameters
. /usr/share/im-config/xinputrc.common
# source the first found configuration file
if [ -r "$IM_CONFIG_XINPUTRC_USR" ]; then
. $IM_CONFIG_XINPUTRC_USR
elif [ -x /usr/bin/fcitx ]; then
# Ubuntu Kylin special
run_im fcitx
elif [ -r "$IM_CONFIG_XINPUTRC_SYS" ]; then
. $IM_CONFIG_XINPUTRC_SYS
fi
fi
end script
|