на Ubuntu 13.10 несколько нажатий на Ctrl + Tab заставляет мою клавиатуру intellij 13 (ни одна клавиша не работает)

9546
Jas

Я должен перезапускать мой intellij каждые 20 минут, когда я нажимаю несколько раз ctrl+tab. Похоже, что нажатие на этот раз несколько раз на моем Ubuntu 13.10 + Intellij 13.01 делает мой Intellij застрял. на intellij 12 той же ОС все просто отлично. в любом случае, чтобы обойти это?

34
Та же проблема здесь, так раздражает! Remi Mélisson 10 лет назад 0
На IntelliJ 14.1 + Ubuntu 14.10 все еще влияют, хотя Ctrl + Click работает Michal Kováč 9 лет назад 3

2 ответа на вопрос

55
Tomer Ben David
Ответ спас мне много часов. следовательно, присуждение награды (в течение 24 часов) Jatin 9 лет назад 10
После использования «ibus-daemon -rd» в IDEA работает только английский, а другие языки перестают работать (в моем случае - персидский) Mohsen Kashi 9 лет назад 1
@MohsenKashi Да, вы должны запустить `setxkbmap` после этого, чтобы правильно установить языки. Dmitry Ginzburg 9 лет назад 1
3
Didier L

Restarting ibus-deamon may cause issues with other applications¹ or even crash IntelliJ, according to IDEA-78860. However it also suggests there are 2 alternate solutions:

  • Disabling IBUS support for idea. This is done with an empty XMODIFIERS environment variable when starting IntelliJ. For example, add this at the beginning of idea.sh and restart IntelliJ:

    # workaround for https://youtrack.jetbrains.com/issue/IDEA-78860 export XMODIFIERS= 
  • Force IBUS to keep the order of events by setting IBUS_ENABLE_SYNC_MODE=1 for ibus-daemon². In my case I implemented it by adding the following to my ~/.xsessionrc (create the file if it does not exist) and restart my session:

    # workaround for https://youtrack.jetbrains.com/issue/IDEA-78860 export IBUS_ENABLE_SYNC_MODE=1 

(I actually did both so I don't know which one fixes it for me)

If this works for you, this has the advantage of fixing the problem once and for all, and you shouldn't have to restart ibus-daemon any more.

The only inconvenient is that you need to restart IntelliJ or even your whole session to apply it the first time.

¹ In my case dead keys didn't work any more afterwards in some applications like Skype.
² Apparently IBUS should have the sync mode enabled by default in a future release, see issue 1697 and the corresponding commit.

Похожие вопросы