···11+# ibus-engines.typing-booster {#sec-ibus-typing-booster}
22+33+This package is an ibus-based completion method to speed up typing.
44+55+## Activating the engine {#sec-ibus-typing-booster-activate}
66+77+IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/documentation.html).
88+99+On NixOS you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module:
1010+1111+```nix
1212+{ pkgs, ... }: {
1313+ i18n.inputMethod = {
1414+ enabled = "ibus";
1515+ ibus.engines = with pkgs.ibus-engines; [ typing-booster ];
1616+ };
1717+}
1818+```
1919+2020+## Using custom hunspell dictionaries {#sec-ibus-typing-booster-customize-hunspell}
2121+2222+The IBus engine is based on `hunspell` to support completion in many languages. By default the dictionaries `de-de`, `en-us`, `fr-moderne` `es-es`, `it-it`, `sv-se` and `sv-fi` are in use. To add another dictionary, the package can be overridden like this:
2323+2424+```nix
2525+ibus-engines.typing-booster.override { langs = [ "de-at" "en-gb" ]; }
2626+```
2727+2828+_Note: each language passed to `langs` must be an attribute name in `pkgs.hunspellDicts`._
2929+3030+## Built-in emoji picker {#sec-ibus-typing-booster-emoji-picker}
3131+3232+The `ibus-engines.typing-booster` package contains a program named `emoji-picker`. To display all emojis correctly, a special font such as `noto-fonts-emoji` is needed:
3333+3434+On NixOS it can be installed using the following expression:
3535+3636+```nix
3737+{ pkgs, ... }: { fonts.fonts = with pkgs; [ noto-fonts-emoji ]; }
3838+```
-57
doc/builders/packages/ibus.xml
···11-<section xmlns="http://docbook.org/ns/docbook"
22- xmlns:xlink="http://www.w3.org/1999/xlink"
33- xml:id="sec-ibus-typing-booster">
44- <title>ibus-engines.typing-booster</title>
55-66- <para>
77- This package is an ibus-based completion method to speed up typing.
88- </para>
99-1010- <section xml:id="sec-ibus-typing-booster-activate">
1111- <title>Activating the engine</title>
1212-1313- <para>
1414- IBus needs to be configured accordingly to activate <literal>typing-booster</literal>. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the <link xlink:href="https://mike-fabian.github.io/ibus-typing-booster/documentation.html">upstream docs</link>.
1515- </para>
1616-1717- <para>
1818- On NixOS you need to explicitly enable <literal>ibus</literal> with given engines before customizing your desktop to use <literal>typing-booster</literal>. This can be achieved using the <literal>ibus</literal> module:
1919-<programlisting>{ pkgs, ... }: {
2020- i18n.inputMethod = {
2121- enabled = "ibus";
2222- ibus.engines = with pkgs.ibus-engines; [ typing-booster ];
2323- };
2424-}</programlisting>
2525- </para>
2626- </section>
2727-2828- <section xml:id="sec-ibus-typing-booster-customize-hunspell">
2929- <title>Using custom hunspell dictionaries</title>
3030-3131- <para>
3232- The IBus engine is based on <literal>hunspell</literal> to support completion in many languages. By default the dictionaries <literal>de-de</literal>, <literal>en-us</literal>, <literal>fr-moderne</literal> <literal>es-es</literal>, <literal>it-it</literal>, <literal>sv-se</literal> and <literal>sv-fi</literal> are in use. To add another dictionary, the package can be overridden like this:
3333-<programlisting>ibus-engines.typing-booster.override {
3434- langs = [ "de-at" "en-gb" ];
3535-}</programlisting>
3636- </para>
3737-3838- <para>
3939- <emphasis>Note: each language passed to <literal>langs</literal> must be an attribute name in <literal>pkgs.hunspellDicts</literal>.</emphasis>
4040- </para>
4141- </section>
4242-4343- <section xml:id="sec-ibus-typing-booster-emoji-picker">
4444- <title>Built-in emoji picker</title>
4545-4646- <para>
4747- The <literal>ibus-engines.typing-booster</literal> package contains a program named <literal>emoji-picker</literal>. To display all emojis correctly, a special font such as <literal>noto-fonts-emoji</literal> is needed:
4848- </para>
4949-5050- <para>
5151- On NixOS it can be installed using the following expression:
5252-<programlisting>{ pkgs, ... }: {
5353- fonts.fonts = with pkgs; [ noto-fonts-emoji ];
5454-}</programlisting>
5555- </para>
5656- </section>
5757-</section>