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

60,724

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

Solution 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

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

Solution 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

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

Share:
60,724
Daniel Adenew
Author by

Daniel Adenew

Grails - The search is over. Founder of Amharic Ebook Search Engine. [MyWebiste] http://dancreativelabs.com/ profile for danielad at Stack Overflow, Q&A for professional and enthusiast programmers http://stackoverflow.com/users/flair/2281472.png [MyWebiste] http://dancreativelab.com/

Updated on November 02, 2020

Comments

  • Daniel Adenew
    Daniel Adenew over 3 years

    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.

  • feeela
    feeela over 8 years
    There is no such setting in PhpStorm 8.0.1
  • Dragouf
    Dragouf over 8 years
    It's not in phpstorm but in Ubuntu
  • Sajib Acharya
    Sajib Acharya over 8 years
    This did not solve my problem. Is there anything else that I can do?
  • Dragouf
    Dragouf over 8 years
  • alexykot
    alexykot about 8 years
    After disabling IBus in System Settings you would need to either restart your system or issues killall ibus in console.
  • alexykot
    alexykot about 8 years
    I've tried out proposed solutions from the the above mentioned response at ServerFault, and while it worked for IBus package by itself, it also created quite nasty side issues. For instance I've completely lost the system settings menu and had to reinstall that with sudo apt-get install unity-control-center. Once reinstalled that also reverted IBus back to 1.5.5 version that is normally coming with Ubuntu 14.04.
  • Daniel Adenew
    Daniel Adenew about 8 years
    to be honest this is a long way to go compared to the answer
  • EdgarT
    EdgarT about 8 years
    True, but this is the solution. The answer is a workaround
  • nicorellius
    nicorellius about 8 years
    @Dragouf -- I'd recommend editing the answer to include your comment information. I almost missed this because I was in a hurry, and I'm sure many users would appreciate if you edited the answer to make it higher quality. +1
  • reducing activity
    reducing activity about 8 years
    And workaround that works only for people that do not need features provided by ibus.
  • douglaslps
    douglaslps about 8 years
    This is a workaround. The actual solution is posted by Uzair Faisal in this very same thread: stackoverflow.com/a/36158784/2186567
  • LAFK says Reinstate Monica
    LAFK says Reinstate Monica almost 8 years
    My thanks to Uzair and his sources @danielad long way? Took me ~3 minutes. Compared to switching ibus off or dealing with intermittent keyboard freezes I just can't think of it as "long".
  • COil
    COil almost 8 years
    Well not so brillant. :) When doing this, you also have to select the correct keyboard setting you were using before (French for example). Just to mention that I don't have the problem any more with PhpStorm 2016.1. I think "export IBUS_ENABLE_SYNC_MODE=1" finally worked for me.
  • NuSkooler
    NuSkooler over 7 years
    FWIW, on my box I also needed the libjson-glib-dev package (Elementary OS Freya)
  • Dream in the wind
    Dream in the wind over 7 years
    the command ./configure --prefix=/usr --sysconfdir=/etc && make seems encouter the json lib related issue, it is better to use what proposed by IBus-1.5.14
  • mcExchange
    mcExchange over 6 years
    This drastically increased the debugging speed of my pycharm IDE
  • Martin Pecka
    Martin Pecka about 6 years
    If I have more IDE windows open, switching between them with alt+backtick immediately crashes the IDE after ibus restart has been called.