[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Launchpad Bug Tracker
This bug was fixed in the package im-config - 0.29-1ubuntu16 --- im-config (0.29-1ubuntu16) yakkety; urgency=medium * debian/user/im-config.service: Reverse the order of "initctl set-env" and "dbus-update-activation-environment". $XMODIFIERS can contain an "=" (its value

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
Just updated the description. The problem is now understood, and we worked around the upstart bug in gnome-session and im-config. ** Description changed: + When "initctl set-env -g" is called, upstart calls D-Bus to also update + its activation environment (the environment that D-Bus activated +

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
** Also affects: upstart (Ubuntu) Importance: Undecided Status: New -- 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

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
That was from "initctl set-env FOO=bar=baz" -- 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:

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
sorry, initctl set-env -g -- 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 Status in

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
I think it's upstart being buggy when forwarding the initctl set-env -g to the dbus activation environment ‣ Type=method_call Endian=l Flags=0 Version=1 Priority=0 Cookie=5665 Sender=:1.15 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
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

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
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

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Iain Lane
>From ExecStart of im-config.service (modified slightly to eliminate quoting issues) Oct 04 10:09:43 yakkety-vm sh[1925]: + dbus-update-activation-environment --verbose --systemd XMODIFIERS Oct 04 10:09:43 yakkety-vm sh[1925]: dbus-update-activation-environment: setting XMODIFIERS=@im=ibus and

[Desktop-packages] [Bug 1630090] Re: $XMODIFIERS not set correctly

2016-10-04 Thread Martin Pitt
I don't think it's a quoting issue (or issue with parsing the extra '=') in d-u-a-e, as when I run this manually it works: $ export XMODIFIERS=@im=ibus $ dbus-update-activation-environment --verbose --systemd XMODIFIERS dbus-update-activation-environment: setting XMODIFIERS=@im=ibus $ systemctl