Ubuntu – Where to add “export IBUS_ENABLE_SYNC_MODE=1”

androidandroid-studioibus

I don't know in which file I should add that line of code in order to fix input issues since my iBus is prior to 1.5.11

see: https://youtrack.jetbrains.com/issue/IDEA-78860

Best Answer

From the linked page,

Either upgrade IBus to version 1.5.11 or add "export IBUS_ENABLE_SYNC_MODE=1" to your ~/.profile, then restart a session.

Add export IBUS_ENABLE_SYNC_MODE=1 to ~/.profile, and restart your session. If that does not work, try upgrading IBus with sudo apt-get upgrade.

Edit

Type echo 'export IBUS_ENABLE_SYNC_MODE=1' >> ~/.profile into a bash shell. That command echos the text export IBUS_ENABLE_SYNC_MODE=1 into ~/.profile.