Now I modified each iteration of the loop in im-config.service to show the environment
Oct 04 10:21:20 yakkety-vm sh[1972]: + dbus-update-activation-environment --verbose --systemd XMODIFIERS Oct 04 10:21:20 yakkety-vm sh[1972]: dbus-update-activation-environment: setting XMODIFIERS=@im=ibus Oct 04 10:21:20 yakkety-vm sh[1972]: + systemctl --user show-environment […] Oct 04 10:21:20 yakkety-vm sh[1972]: XMODIFIERS=@im=ibus
Oct 04 10:21:20 yakkety-vm sh[1972]: + dbus-update-activation-environment --verbose --systemd GTK_IM_MODULE Oct 04 10:21:20 yakkety-vm sh[1972]: dbus-update-activation-environment: setting GTK_IM_MODULE=ibus Oct 04 10:21:20 yakkety-vm sh[1972]: + systemctl --user show-environment Oct 04 10:21:20 yakkety-vm sh[1972]: XMODIFIERS=@im
...
Now I modified each iteration of the loop in im-config.service to show the environment
Oct 04 10:21:20 yakkety-vm sh[1972]: + dbus-update- activation- environment --verbose --systemd XMODIFIERS activation- environment: setting XMODIFIERS=@im=ibus
Oct 04 10:21:20 yakkety-vm sh[1972]: dbus-update-
Oct 04 10:21:20 yakkety-vm sh[1972]: + systemctl --user show-environment
[…]
Oct 04 10:21:20 yakkety-vm sh[1972]: XMODIFIERS=@im=ibus
Oct 04 10:21:20 yakkety-vm sh[1972]: + dbus-update- activation- environment --verbose --systemd GTK_IM_MODULE activation- environment: setting GTK_IM_MODULE=ibus
Oct 04 10:21:20 yakkety-vm sh[1972]: dbus-update-
Oct 04 10:21:20 yakkety-vm sh[1972]: + systemctl --user show-environment
Oct 04 10:21:20 yakkety-vm sh[1972]: XMODIFIERS=@im
...