The following is from dbus-update-activation-environment --verbose --systemd $$v; \ systemctl --user show-environment | grep XMODIFIERS; \ initctl set-env -gr $$v=$$(eval "echo \\$$$${v}") || true; \ systemctl --user show-environment | grep XMODIFIERS; \
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 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to im-config in Ubuntu. https://bugs.launchpad.net/bugs/1630090 Title: $XMODIFIERS not set correctly Status in im-config package in Ubuntu: New Bug description: The XMODIFIERS environment variable is not set correctly. $ echo $XMODIFIERS @im $ The value should be - for ibus: "@im=ibus" - for fcitx: "@im=fcitx" - for xim: "@im=none" The issue is present in Ubuntu/Unity 16.10. I don't see it in Ubuntu GNOME, neither in Ubuntu 16.04. Actually I don't think the affected package is im-config, because the issue is present also after having downgraded im-config to 0.29-1ubuntu12 (the Xenial version). But I wanted to file the bug somewhere, so here it is. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/im-config/+bug/1630090/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp