Oct 04 10:34:56 yakkety-vm sh[1960]: + dbus-update-activation-environment --verbose --systemd XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: dbus-update-activation-environment: setting XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + grep XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: + systemctl --user show-environment
Oct 04 10:34:56 yakkety-vm sh[1960]: XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + eval echo $XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: + echo @im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + initctl set-env -gr XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + systemctl --user show-environment
Oct 04 10:34:56 yakkety-vm sh[1960]: + grep XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: XMODIFIERS=@im
What is shows is that the value of XMODIFIERS in "systemctl --user show-environment" changes after "initctl set-env -gr $$v=$$(eval "echo \\$$$${v}") || true;" is run
The following is from
initctl set-env -gr $$v=$$(eval "echo \\$$$${v}") || true; \
Oct 04 10:34:56 yakkety-vm sh[1960]: + dbus-update- activation- environment --verbose --systemd XMODIFIERS activation- environment: setting XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: dbus-update-
Oct 04 10:34:56 yakkety-vm sh[1960]: + grep XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: + systemctl --user show-environment
Oct 04 10:34:56 yakkety-vm sh[1960]: XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + eval echo $XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: + echo @im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + initctl set-env -gr XMODIFIERS=@im=ibus
Oct 04 10:34:56 yakkety-vm sh[1960]: + systemctl --user show-environment
Oct 04 10:34:56 yakkety-vm sh[1960]: + grep XMODIFIERS
Oct 04 10:34:56 yakkety-vm sh[1960]: XMODIFIERS=@im
What is shows is that the value of XMODIFIERS in "systemctl --user show-environment" changes after "initctl set-env -gr $$v=$$(eval "echo \\$$$${v}") || true;" is run