Resolving IBus Issue - IBus prior to 1.5.11 may ca

2019-01-16 02:42发布

问题:

I m using PhpStorm 10 on Ubuntu 14.04. I get the following error when at start :

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.

How could I solve this, if any solution to upgrade IBus or change it with other library to do the same thing.

回答1:

if you use only one keyboard layout you can go to Ubuntu: System Settings -> Language Support

or if not found (f.e. mint desktop) search in main menu for language support

and change Keyboard input method at the bottom of the page from ibus to none.

Restart Ubuntu.

It's the easiest way to fix this problem.



回答2:

This solution is if you would like to upgrade ibus in Ubuntu 14.04.4 LTS to the latest version (at the time of writing is 1.5.11).

I recently had to install Intellij on a clean installed Ubuntu machine. These are the steps I took:

  1. Install the dependencies

    sudo apt-get install libdconf-dev libnotify-dev intltool libgtk2.0-dev libgtk-3-dev libdbus-1-dev
    
  2. Download the ibus 1.5.11 source code (linked from here)
  3. Extract the files (tar -xvf ibus-1.5.11.tar.gz) and cd into the extracted folder
  4. While in the ibus source folder, follow the instructions from step 1 to install ibus 1.5.11:

    ./configure --prefix=/usr --sysconfdir=/etc && make
    sudo make install
    
  5. Restart Intellij IDE or whichever jetbrain's IDE that is in question


回答3:

Solution from 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.



回答4:

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

For Ubuntu users, ibus 1.5.11 cannot be obtained easily unless Ubuntu 16.04 is released.

If you are using Ubuntu 14.04 and want to install ibus 1.5.11 here is the link to follow.

How to properly update / install / compile ibus on 14.04



回答5:

Well, this is obviously a workaround, but on Ubuntu 14.04 calling:

ibus restart

Fix the problem... until it crashes again. At least you don't have to restart the IDE.



回答6:

No idea if the following brought the solution but ...

I had the same problem and i think every time i used STRG+W my keyboard stucked. Recently i changed:

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

Since this day i did not had this bug anymore. (perhaps it has nothing to do with it but rewrong a config somewhere ?)



回答7:

System Settings -> Language Support

or

You can search it in Ubuntu's main menu for language support, after that change "Keyboard input method"(at the bottom of the page) from ibus to none and then - Restart Ubuntu.