Posted over 4 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:

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

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.

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

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.

Tested on Ubuntu Mate 18.04

As the solutions above seem to handle a problem with IBus, you can try to disable IBus completely. IBus can be used to switch between keyboard input languages, but Mate still allows to switch languages/layouts in the Keyboard > Layouts settings.

Disable IBus:

  • Go to Mate Control Center > Language Support
  • Select none for Keyboard input method system (from IBus)

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Arne Hartherz
Last edit:
about 1 year ago
by Daniel Straßner
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