2. Make ibus-daemon use kimpanel. I do this by restarting ibus-daemon with the --panel parameter after KDE starts. There are notes about this at the bottom
3. Symlink /usr/share/icons/hicolor/scalable/apps/ibus.svg to /usr/share/ibus/icons, where kimpanel looks for ibus's icon. The directory was created by ibus's package, but it is empty.
cd /usr/share/ibus/icons
sudo ln -s /usr/share/icons/hicolor/scalable/apps/ibus.svg
Note
Initially I just edited /etc/X11/xinit/xinput.d/ibus to change XIM_ARGS to XIM_ARGS="--xim --panel=/usr/share/ibus/ui/kimpanel/panel.py", and expected ibus to use kimpanel. However, this did not work. I think it is because ibus-daemon is being started before the kimpanel widget is loaded, therefore, I used the workaround of restarting ibus-daemon after KDE starts, based on a Chinese blog post, <http://songlinyi.spaces.live.com/blog/cns!9D1E6496716547EE!238.entry>. If this is actually the cause, maybe ibus needs to be modified to wait for the panel to be loaded, or Ubuntu needs to have a way to delay launching ibus-daemon until KDE is fully loaded?
I had to do the following to make the kimpanel plasmoid work with ibus:
1. Install kimpanel's ibus backend, which is not included in the Ubuntu package.
wget 'http:// websvn. kde.org/ *checkout* /trunk/ KDE/kdeplasma- addons/ applets/ kimpanel/ backend/ ibus/panel. py' ibus/ui/ kimpanel ibus/ui/ kimpanel
sudo mkdir /usr/share/
sudo cp panel.py /usr/share/
2. Make ibus-daemon use kimpanel. I do this by restarting ibus-daemon with the --panel parameter after KDE starts. There are notes about this at the bottom
cat > ~/.kde/ Autostart/ reload- ibus-daemon <<EOF /usr/share/ ibus/ui/ kimpanel/ panel.py --xim Autostart/ reload- ibus-daemon
#!/bin/sh
pkill ibus-daemon &&
ibus-daemon --panel=
EOF
chmod +x ~/.kde/
3. Symlink /usr/share/ icons/hicolor/ scalable/ apps/ibus. svg to /usr/share/ ibus/icons, where kimpanel looks for ibus's icon. The directory was created by ibus's package, but it is empty.
cd /usr/share/ ibus/icons icons/hicolor/ scalable/ apps/ibus. svg
sudo ln -s /usr/share/
Note xinit/xinput. d/ibus to change XIM_ARGS to XIM_ARGS="--xim --panel= /usr/share/ ibus/ui/ kimpanel/ panel.py" , and expected ibus to use kimpanel. However, this did not work. I think it is because ibus-daemon is being started before the kimpanel widget is loaded, therefore, I used the workaround of restarting ibus-daemon after KDE starts, based on a Chinese blog post, <http:// songlinyi. spaces. live.com/ blog/cns! 9D1E6496716547E E!238.entry>. If this is actually the cause, maybe ibus needs to be modified to wait for the panel to be loaded, or Ubuntu needs to have a way to delay launching ibus-daemon until KDE is fully loaded?
Initially I just edited /etc/X11/