This problem happen to me also when trying to switch to xim using im- config.
$ printenv | grep -E '(_IM|XMOD)' CLUTTER_IM_MODULE=xim QT_IM_MODULE=ibus XMODIFIERS=@im=ibus QT4_IM_MODULE=xim GTK_IM_MODULE=xim as you can see QT_IM_MODULE and XMODIFIERS still unchanged. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1594681 Title: Don't set ibus variables from gnome-session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-gnome/+bug/1594681/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs