How to use ibus-typing-booster to enable predictive typing on the Linux desktop

ibus typing booster Is an IBus The plug-in can add offline predictive typing to the Linux desktop to speed up typing. This feature is very useful when entering foreign languages, entering complex scripts, and providing auxiliary functions for people with limited mobility (or more).

This IBus plug-in provides context-sensitive completion functions and can also learn from user input. The more text you enter, the better its word prediction function. If some words are not available in the dictionary, the tool will automatically add them to the local user dictionary. You can even train ibus-typing-booster by providing a file containing your own custom words.

If you add a wrongly typed word to the dictionary, you can delete it by using Ctrl and the entry number of the word in the lookup table (each word in the word suggestion tooltip/dialog box is assigned a number).

The tool also supports more than one dictionary and more than one input method/transliteration at the same time. Therefore, you can write text in multiple languages ​​without having to switch languages ​​manually.

It is also worth mentioning that the ibus typing enhancer can also predict unicode symbols and emojis. However, emoji is disabled by default because it slows down the ibus typing enhancer in some cases, but you can enable it from the IBus tray (although I recommend you to turn it off).

As for the supported input methods, it supports all input methods supported by libm17n.

With the help of hunspell dictionary, no matter what application you use, the tool can not only provide predictions, but also spell check suggestions.

ibus type booster preference

The tool comes with various options, which can be accessed from the IBus tray when “Input Enhancer” is selected as the input method. From there you can add a dictionary, use the keys to enable suggestions (only show word suggestions when the keys are used), automatically select the best candidate words, add text files for learning, view and change key bindings, etc.

By default, the forecast is shown in the tooltip, but if you prefer inline completion, you can find an option in the ibus-typing-booster options, as shown in the screenshot above.

The following instructions will show how to install ibus-typing-booster, how to install hunspell for the language you want to use, and how to enable this predictive IBus plugin.

Install ibus-typing-booster

ibus-typing-booster was originally created for Fedora 15, so it has been in the Fedora (and other Linux distributions) repository for some time, but until it was added to the repository early this year, Debian/ Ubuntu just lost it.

1. To start using ibus-typing-booster, you need to install it first, because it is not installed by default:

Debian sid or Bullseye/Ubuntu (backported to all supported Ubuntu versions)/Linux Mint etc:

sudo apt install ibus-typing-booster


sudo dnf install ibus-typing-booster

Arch Linux / Manjaro:

sudo pacman -S ibus-typing-booster

openSUSE Leap 15.1, Leap 15.2 and Tumbleweed:

sudo zypper install ibus-typing-booster

For SUSE SLE-15-SP1 or newer openSUSE Leap software package, you can use ibus-typing-booster database Maintained by its developer.

2. It is also recommended to install the hunspell dictionary for the language you want to use ibus-typing-booster.

This is used for prediction (otherwise, it will only use the words you type) and spell checking.Install using the package manager of the Linux distribution hunspell-<langcode>,where is it langcode Is the ISO 639-1/2/3 code of the language you want to install, for example hunspell-en-us Means American English, hunspell-ru means Russian, and so on (so, to install it, use sudo apt install hunspell-en-us On Debian/Ubuntu, sudo dnf install hunspell-en-us On Fedora etc.).

3. Logout/login again (you can also restart the system).

Without this option, typing Booster will not be displayed as an available input source.

Enable ibus type enhancement

For this, you obviously need to use IBus as a keyboard input method.For example, to check if you are using IBus on the Gnome Shell desktop, open Settings, go with Region & Language,then click Manage Installed LanguagesAnd in Language Support Open window, check if IBus is used Keyboard input method system.On Linux Mint Cinnamon Edition, open System Settings, Click Input Method, And then you can select the input method frame at the top of the window.

Dwarf shell

On Linux distributions using Gnome Shell, you need to open Settings, Click Region & Language On the left, then click + Button under Input sources.Next, click on the three vertical dots at the bottom Add an Input Source Dialog box and type in the search box booster.

You will only see “Other” search results-click it and you will find Other (Typing Booster) Input source.Click it, then click Add Button.

You can see all the steps above to add ibus-typing-booster input source in the GIF below:

ibus typing booster gnome shell

It is very important to note that when using multiple keyboard layouts, when switching to the Typing Booster input method, the keyboard layout used is the one you previously (last) selected. Unless you have enabled the use of the system keyboard layout in the “IBus Preferences” (“Advanced” tab), otherwise.

Now you can switch from the IBus tray to Typing Booster input method:

ibus tray

Other Gnome3 based desktops

For Linux distributions that use desktop environments other than Gnome Shell, please run ibus-setup (IBus preference).If a window pops up, say ibus-daemon It is not running yet, asking if you should start it, please click Yes.

in case ibus-daemon Not yet running, you still need to open ~/.bashrc Use a text editor and paste it at the bottom of the file (do not modify anything else):

export GTK_IM_MODULE=ibusexport [email protected]=ibusexport QT_IM_MODULE=ibus

In my case, when setting up ibus-typing-booster on Linux Mint 20 Cinnamon version, this is all I have to do with IBus (Linux Mint does not use it by default), but in other Linux distributions or desktop environments May have to run ibus-daemon At startup-In this case, you can add it to the startup application.

Next, let’s enable ibus-typing-booster.inside ibus-setup (IBus Preferences) window, click Input Method Label and then Add, Then click the three vertical dots at the bottom, and search for “other”.Click on Other Typing Booster input method should be displayed-click it, then click Add Button.

You can view all these steps in the GIF below:

ibus typing boosts cinnamonNow you can switch from the IBus tray to Typing Booster input method.