bruno.braga
November 11th, 2009, 04:16 PM
After a while trying to figure out what was wrong with my installation, I finally get it to work properly, and would like to share with others that might be in the same situation (I could not see any post that gave me the answers I needed).
First of all, iBus works great in Ubuntu 9.10, although you still need to do some tweak to get it working (already posted here). For KDE (4.3.1) on Kubuntu 9.10, however, the story is completely different.
Most common errors are:
- not installed by default
- default repository does not work (starts but can not display the IM options)
The solution was: recompile latest version, plus tweaks (I don't know if just the tweaks would work - someone try this first before getting the source).
1) Get sources
Go to:
http://code.google.com/p/ibus/downloads/list
and download the latest (and stable) versions available (get ibus, ibus-table and the others you need).
2) Install dependencies
It took me a while to get through all the missing packages:
sudo apt-get install -y libglib2.0-dev libgtk2.0-dev libdbus-1-dev libgconf2-dev libanthy-dev swig python-dev
3) Compile
Go to each of the sources (ibus > ibus-table > etc) and type:
sudo ./configure
sudo make
sudo make install
If you are not lucky to pass through this stage, you may need additional packages (that my machine already has, for instance build-essentials, etc). I am assuming the machine has a minimum of compiling tools (see other threads on this subject for details, i you need)
4) Tweak 1: ~/.bashrc
Append the following to your ~/.bashrc file:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
5) Tweak 2: im-switch
From the command line, type:
im-switch -s ibus
6) Start iBus
Here you still need to setup the input methods in the list. Go to the try icon:
Right Click > Preferences > Input Method > Select Input Method > Add
7) Logout/Login
I actually rebooted just in case, but the im-switch turns valid after logging out.
8) Done!
And here (attachment) is how it should look like...
First of all, iBus works great in Ubuntu 9.10, although you still need to do some tweak to get it working (already posted here). For KDE (4.3.1) on Kubuntu 9.10, however, the story is completely different.
Most common errors are:
- not installed by default
- default repository does not work (starts but can not display the IM options)
The solution was: recompile latest version, plus tweaks (I don't know if just the tweaks would work - someone try this first before getting the source).
1) Get sources
Go to:
http://code.google.com/p/ibus/downloads/list
and download the latest (and stable) versions available (get ibus, ibus-table and the others you need).
2) Install dependencies
It took me a while to get through all the missing packages:
sudo apt-get install -y libglib2.0-dev libgtk2.0-dev libdbus-1-dev libgconf2-dev libanthy-dev swig python-dev
3) Compile
Go to each of the sources (ibus > ibus-table > etc) and type:
sudo ./configure
sudo make
sudo make install
If you are not lucky to pass through this stage, you may need additional packages (that my machine already has, for instance build-essentials, etc). I am assuming the machine has a minimum of compiling tools (see other threads on this subject for details, i you need)
4) Tweak 1: ~/.bashrc
Append the following to your ~/.bashrc file:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
5) Tweak 2: im-switch
From the command line, type:
im-switch -s ibus
6) Start iBus
Here you still need to setup the input methods in the list. Go to the try icon:
Right Click > Preferences > Input Method > Select Input Method > Add
7) Logout/Login
I actually rebooted just in case, but the im-switch turns valid after logging out.
8) Done!
And here (attachment) is how it should look like...