Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

KeyBoard stop working on RubyMine IDE

KeyBoard stop working on RubyMine IDE, but still can select and navigate with Mouse. It's a frequent problem. My system configuration as following:

RubyMine 7.1.4 running on Ubuntu 14.04 and Open JDK Java 7.

How to get ride of this issues?

like image 276
Rokibul Hasan Avatar asked Aug 07 '15 06:08

Rokibul Hasan


People also ask

Why did my keyboard commands stop working?

Keyboard shortcuts could fail to work if you don't press the key combinations at the same time. If you are having difficulties pressing multiple keys at the same time, you should enable Sticky Keys. This Windows 10 feature allows you to press the shortcut keys one after another.

What is Ctrl Shift O in IntelliJ?

In Eclipse, you press CTRL + SHIFT + O “Organize Imports” to import packages automatically. For IntelliJ IDEA, if you press CTRL + ALT + O “Optimize Imports”, it just removes some unused imports, never imports any package.

What does Ctrl Alt l do in IntelliJ?

Sometimes code formatting can get out of sync, but there's an easy fix in IntelliJ IDEA. You can use ⌘⌥L (macOS), or Ctrl+Alt+L (Windows/Linux) to reformat a selection of code according to your reformat settings.


1 Answers

Keyboard input sometimes is blocked when IBus is active.

When IDEA is used on a system with IBus is installed and running keyboard input sometimes became blocked by IBus daemon. Event Dispatching Thread is active. All other events are delivered in order - i.e. it is possible to select text or call menu actions by a mouse.

Setting IBUS_ENABLE_SYNC_MODE=1 seem to help. Note that the setting is for IBus, so either set it in shell's profile, or restart IBus daemon with this option exported. Run Following command on terminal to do this.

export IBUS_ENABLE_SYNC_MODE=1
ibus-daemon -d -r

Works like a charm, even without restarting the IDE.

See Reference

like image 141
Rokibul Hasan Avatar answered Oct 20 '22 22:10

Rokibul Hasan