Tomáš Pospíšek's Notizblock

deinstalling ibus

ibus was installed by default on my Debian bullseye laptop. live-task-localisation depends on it and I'm guessing that live-task-localisation was installed because I installed from an USB Stick.

I'm using Xfce as a desktop, konsole as a terminal and KeePassXC to manage passwords.

Even while doing nothing ibus is infrequently using CPU and of course memory. Do I need ibus? I don't know, but I don't think so. I do not need to enter chinese or other characters that are "exotic" to me.

So I deinstalled ibus via aptitude while running the desktop. aptitude deinstalled the following packages along:

ibus-m17n ibus dconf-cli python3-ibus-1.0 gir1.2-ibus-1.0
ibus-data ibus-gtk ibus-gtk3 im-config libibus-1.0-5
libm17n-0 libotf0 m17n-db

Then I killed all ibus* daemons running on my system by using systemctl --user stop ... or kill -HUP ....

After that konsole and KeePassXC would not receive any keyboard inputs any more. It seems as if those programs (probably along with other programs that I wasn't running at the time), dynamically detect the presence of ibus and use it as keyboard input if available.

Restarting KeePassXC fixed the second problem and starting a new konsole fixed the other.

However, be aware that when killing ibus while running konsole you might risk loosing the work you are currently doing in it (or in any other X11 console or possibly in other programs). So it's better so save your work before killing ibus. Because I had some open work in console I did the copy/paste trick to save open files in vim and terminate other sessions. Mind you that it might be tricky to copy/paste "special" characters that you need, such as CTRL-D, Escape and such.

Tomáš Pospíšek, 2021-08-01