IBus input not working in QT applications

I'm using Ubuntu 21.04. IBus Chinese (ibus-libzhuyin and ibus-libpinyin) works in all gnome applications but it doesn't work for any Qt applications like Anki.

I've tried adding this in ~/.xprofile (I read somewhere to do that):

export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus

But doing this seems to have no effect.

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like