解决 IBus 问题 - 1.5.11 之前的 IBus 可能会导致输入问题

Resolving IBus Issue - IBus prior to 1.5.11 may cause input problems

我正在 Ubuntu 14.04 上使用 PhpStorm 10。 开始时出现以下错误:

8:08:47 AM IBus prior to 1.5.11 may cause input problems. See IDEA-78860 for details.
           Do not show again.
8:09:18 AM Platform and Plugin Updates: PhpStorm is ready to update.

我该如何解决这个问题,如果有任何解决方案可以升级 IBus 或用其他库更改它来做同样的事情。

如果您只使用一种键盘布局,您可以转到 Ubuntu系统设置 -> 语言支持

或者如果找不到(f.e.mint 桌面)在主菜单中搜索语言支持

并将页面底部的键盘输入法ibus更改为none

重启Ubuntu.

这是解决此问题的最简单方法。

来自Jetbrains bug tracker的解决方案:

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.

echo "export IBUS_ENABLE_SYNC_MODE=1" >> ~/.bashrc
source ~/.bashrc

对于Ubuntu用户来说,ibus 1.5.11不容易获得,除非Ubuntu16.04发布。

如果您使用的是 Ubuntu 14.04 并且想要安装 ibus 1.5.11,请遵循以下 link。

How to properly update / install / compile ibus on 14.04

不知道以下内容是否带来了解决方案,但是...

我遇到了同样的问题,我想每次我使用 STRG+W 我的键盘都会卡住。最近我改变了:

settings > code style > php > "set from ..." > predefined style > zend

从今天开始,我再也没有遇到过这个错误。 (也许这与它无关,但在某处改错了配置?)

如果您想将 Ubuntu 14.04.4 LTS 中的 ibus 升级到最新版本(在撰写本文时为 1.5.11),则此解决方案。

我最近不得不在干净安装的 Ubuntu 机器上安装 Intellij。这些是我采取的步骤:

  1. 安装依赖项

    sudo apt-get install libdconf-dev libnotify-dev intltool libgtk2.0-dev libgtk-3-dev libdbus-1-dev
    
  2. 下载 ibus 1.5.11 source code (linked from here)
  3. 解压缩文件 (tar -xvf ibus-1.5.11.tar.gz) 并 cd 到解压缩的文件夹中
  4. 在 ibus 源文件夹中,按照步骤 1 中的说明安装 ibus 1.5.11:

    ./configure --prefix=/usr --sysconfdir=/etc && make
    sudo make install
    
  5. 重启 Intellij IDE 或任何有问题的 jetbrain IDE

好吧,这显然是一种解决方法,但是在 Ubuntu 14.04 上调用:

ibus restart

解决问题...直到它再次崩溃。至少你不必重新启动 IDE.

System Settings -> Language Support

您可以在 Ubuntu 的主菜单中搜索语言支持,然后将 "Keyboard input method"(在页面底部)从 ibus 更改为 none 然后 - 重启Ubuntu.