How to Upgrade IBus to v1.5.11+ on Ubuntu for PHPStorm 10 Compatibility


3 views

When running PHPStorm 10 on Ubuntu 15.04, you might encounter this warning message:

Warning: IBus version 1.5.11 or higher is recommended for optimal input method support
Current IBus version: 1.5.10

First verify your installed version through these terminal commands:

ibus version
# Or alternatively:
apt-cache policy ibus

The default Ubuntu 15.04 repositories only provide IBus 1.5.10. To get newer versions, we need to add updated repositories or build from source.

The simplest method is adding a maintained PPA:

sudo add-apt-repository ppa:ibus-dev/ibus-1.5
sudo apt-get update
sudo apt-get upgrade ibus

After installation, restart IBus with:

ibus restart

For cases where PPAs aren't available, build from source:

# Install dependencies
sudo apt-get build-dep ibus
sudo apt-get install libgtk2.0-dev libgtk-3-dev

# Download and build
wget https://github.com/ibus/ibus/releases/download/1.5.22/ibus-1.5.22.tar.gz
tar xvf ibus-1.5.22.tar.gz
cd ibus-1.5.22
./configure --prefix=/usr --sysconfdir=/etc
make
sudo make install

Confirm successful installation with:

ibus version
# Should now show version 1.5.11 or higher

Add this to your phpstorm.vmoptions file:

-Djava.awt.im.style=on-the-spot
-Dsun.java2d.xrender=true
# If IBus doesn't start automatically:
ibus-daemon -drx

# Reset IBus configuration if needed:
ibus reset-config

When running PHPStorm 10 on Ubuntu 15.04, you might encounter this warning message:

Warning: IBus version 1.5.11 or higher is recommended for optimal performance
Current IBus version: 1.5.10 (or lower)

First, let's confirm your current IBus installation:

ibus version
# Or alternatively:
apt-cache policy ibus

The newer IBus versions contain critical fixes for:

  • Input method stability in Java applications
  • Better CJK character handling
  • Memory leak fixes during prolonged usage

For Ubuntu 15.04, you have several options:

Option 1: Install from Source

sudo apt-get build-dep ibus
sudo apt-get install git automake autoconf libtool
git clone https://github.com/ibus/ibus.git
cd ibus
./autogen.sh --prefix=/usr --sysconfdir=/etc
make
sudo make install

Option 2: Add the Official PPA

sudo add-apt-repository ppa:ibus-dev/ibus-1.5
sudo apt-get update
sudo apt-get upgrade

Option 3: Manual Package Installation

Download the .deb package from:

wget http://archive.ubuntu.com/ubuntu/pool/main/i/ibus/ibus_1.5.11-1ubuntu1_amd64.deb
sudo dpkg -i ibus_1.5.11-1ubuntu1_amd64.deb

After installation, restart IBus:

ibus-daemon -drx

Verify the upgrade worked:

ibus version | grep -oP 'ibus \K[\d.]+'

Add this line to your phpstorm.vmoptions:

-Djava.awt.im.style=on-the-spot

If you encounter issues, try:

# Reset IBus configuration:
gsettings reset-recursively org.freedesktop.ibus

For persistent problems, check the logs:

tail -f ~/.cache/ibus/log