In any case using /etc/environment on Ubuntu for this purpose won't happen. But maybe your finding can be helpful in figuring out a proper fix.
Can you please clean up your /etc/environment from IM related variables, reboot, and run this command: env | grep -E 'XMOD|_IM' Probably it outputs: XMODIFIERS=@im=ibus QT_IM_MODULE=ibus Then, as a test, please add only this line to /etc/environment: GTK_IM_MODULE=ibus and reboot. Is that sufficient to make the candidate window be shown correctly on e.g. Microsoft Edge? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966552 Title: IBus input method candidate box cannot follow the cursor To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1966552/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs