Posted about 3 years ago. Visible to the public.

How to fix: RubyMine occasionally no longer accepts keyboard input

From time to time, RubyMine suddenly did not accept any keyboard input and felt crashed, while mouse interaction was still possible. This apparently happens to all IntelliJ IDEs, especially on Ubuntu 14.04.

I've managed to fix it by having a shell script that exports XMODIFIERS="" when launching RubyMine, like this:

Copy
#!/bin/sh XMODIFIERS= /home/arne/rubymine/bin/rubymine.sh

It has been working reliably for me ever since, at least until RubyMine 8.

An alternate solution suggested on the Jetbrains issue tracker is setting IBUS_ENABLE_SYNC_MODE=1.

Copy
#!/bin/sh IBUS_ENABLE_SYNC_MODE=1 /home/arne/rubymine/bin/rubymine.sh

This seems fix issues on RubyMine 8.


The benefit of an extra launcher file is that you can upgrade RubyMine and don't have to touch your launcher.

Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Arne Hartherz
Last edit:
about 3 years ago
by Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more