/usr/lib/systemd/user/im-config.service is in im-config 0.34-1ubuntu1.
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 | [Unit]
Description=Launch and configure input method
PartOf=graphical-session.target
[Service]
Type=forking
ExecStart=/bin/sh -ec ' \
. /etc/X11/Xsession.d/70im-config_launch; \
if [ "$$IM_CONFIG_PHASE" = 1 ]; then \
export IM_CONFIG_PHASE=2; \
. /usr/share/im-config/xinputrc.common; \
if [ -r "$$IM_CONFIG_XINPUTRC_USR" ]; then \
. $$IM_CONFIG_XINPUTRC_USR; \
elif [ -r "$$IM_CONFIG_XINPUTRC_SYS" ]; then \
. $$IM_CONFIG_XINPUTRC_SYS; \
fi; \
for v in XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT4_IM_MODULE CLUTTER_IM_MODULE; do \
initctl set-env -gr $$v=$$(eval "echo \\$$$${v}") || true; \
dbus-update-activation-environment --systemd $$v; \
done; \
fi'
|