summary refs log tree commit diff
path: root/doc/packages/ibus.section.md
diff options
context:
space:
mode:
authorAdam Joseph <54836058+amjoseph-nixpkgs@users.noreply.github.com>2023-11-08 06:15:46 +0000
committerGitHub <noreply@github.com>2023-11-08 06:15:46 +0000
commitba2ed469c261928415e1121f26bfe96ebbed8a33 (patch)
tree806254c8497062bce2f1d43b4602002290a4ae1a /doc/packages/ibus.section.md
parent4c234ceeb61f6d111bb1db30376cdb4019e56142 (diff)
parent3db5de3ba9909bc8631fe6808638099a5cad0a49 (diff)
downloadnixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar.gz
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar.bz2
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar.lz
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar.xz
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.tar.zst
nixpkgs-ba2ed469c261928415e1121f26bfe96ebbed8a33.zip
Merge branch 'master' into staging-next
Diffstat (limited to 'doc/packages/ibus.section.md')
-rw-r--r--doc/packages/ibus.section.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/packages/ibus.section.md b/doc/packages/ibus.section.md
new file mode 100644
index 00000000000..817e55d56f1
--- /dev/null
+++ b/doc/packages/ibus.section.md
@@ -0,0 +1,40 @@
+# ibus-engines.typing-booster {#sec-ibus-typing-booster}
+
+This package is an ibus-based completion method to speed up typing.
+
+## Activating the engine {#sec-ibus-typing-booster-activate}
+
+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/).
+
+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:
+
+```nix
+{ pkgs, ... }: {
+  i18n.inputMethod = {
+    enabled = "ibus";
+    ibus.engines = with pkgs.ibus-engines; [ typing-booster ];
+  };
+}
+```
+
+## Using custom hunspell dictionaries {#sec-ibus-typing-booster-customize-hunspell}
+
+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:
+
+```nix
+ibus-engines.typing-booster.override { langs = [ "de-at" "en-gb" ]; }
+```
+
+_Note: each language passed to `langs` must be an attribute name in `pkgs.hunspellDicts`._
+
+## Built-in emoji picker {#sec-ibus-typing-booster-emoji-picker}
+
+The `ibus-engines.typing-booster` package contains a program named `emoji-picker`. To display all emojis correctly, a special font such as `noto-fonts-color-emoji` is needed:
+
+On NixOS, it can be installed using the following expression:
+
+```nix
+{ pkgs, ... }: {
+  fonts.packages = with pkgs; [ noto-fonts-color-emoji ];
+}
+```