Keyboard locks in IntelliJ IDEA on Ubuntu 14.04

There is a an open issue in jetbrains youtrack for intellij idea that recommend two solutions:

  1. Keyboard input may be unlocked by restarting IBus daemon from a console:

    ibus-daemon -rd
    
  2. IBus can be disabled for IDEA by unsetting env. variable XMODIFIERS, but ability to input national characters in IDEA will be lost:

    XMODIFIERS="" idea.sh
    

I have used the second one and fixed my problem.


I was able to solve it with what I found here that is basically adding export XMODIFIERS="" on idea.sh


  1. Temporary solution: simply execute ibus-daemon -rd on the terminal.
  2. Permanent solution: the 01 Oct 2015 update on the issue recommends to:

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

Alternatively, you can turn off IBus at System Settings | Language Support | Keyboard input method.

IDEA 15 will show a warning if an incompatible version of IBus is in use.