Comment 28 for bug 663776

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I'm back to the side issues (but still ibus related) that Kyle Nitzsche described in comment #5 and #10. I figured out that it's not the ibus package that needs to be changed to fix them, but the im-switch package.

For some reason, im-switch currently uses LC_CTYPE to determine the current language. By replacing a couple of occurrences of LC_CTYPE in im-switch with LC_MESSAGES, ibus is started automatically when you would expect it to. I put together an im-switch merge proposal accordingly.

Result: No need to set LANG, and no need to mess with /etc/default/locale at all. If ibus is recommended for the session language, whether it was set in Language Support or on the login screen, the ibus daemon starts during the session startup, and you can conveniently switch ibus on and off with Ctrl + Space.

If you want to check this out before the change is released, you can manually replace LC_CTYPE with LC_MESSAGES at line 24 in /etc/X11/Xsession.d/80im-switch.

Even if this is not the main issue in this bug report, I think it's important enough to those who use input methods to justify a Natty SRU.