Hi, On Mon, Nov 26, 2012 at 09:04:33AM -0500, Weng Xuetian wrote: > Package: im-config > Version: 0.18~quantal1 > Severity: normal > Tags: upstream > > (Sorry for report it from ubuntu) > im-config 0.18 uses im-launch to fix some old problem, but also brought some > new problem. in current initialization sequence, the final command will be:
Thanks for reporting this with good technical insight. As you know we are under freeze but this may be grave bug causing lost keyboad data. > dbus-launch im-launch command-for-start-up > > This ignore the fact that dbus-daemon launched by dbus-launch is not covered > under required im environment variable. Very true. > In some case, dbus-daemon will be used to start process by dbus service name, > those application can also be GUI application, and it will make those > application > running with no im environment variable set. For example, ktp-text-ui > (kde telepathy text ui) is suffering from this problem. Kind of makes sense. I just did not run such program.... > The fix to this problem is simple, keep the code that start input method in > im-launch, > but move the environment setting code to 70im-config_launch, so dbus-daemon > will > be also set with those environment variable, and so will those process started > by dbus-daemon. So what you suggesting is to set and export environment variables from /etc/X11/Xsession.d/70im-config_launch But keep launching of deamons after dbus. Interesting. Aron, what do you think? Osamu PS: I am going to make a patch in the mean time .... -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

