From ea6e8775bd69e4676c623a85c39f1da540d29ad1 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Wed, 18 Sep 2019 22:13:35 +0200 Subject: nixos/doc: re-format --- nixos/modules/i18n/input-method/default.xml | 74 ++++++++--------------------- 1 file changed, 20 insertions(+), 54 deletions(-) (limited to 'nixos/modules/i18n/input-method') diff --git a/nixos/modules/i18n/input-method/default.xml b/nixos/modules/i18n/input-method/default.xml index 117482fb0d5..830ef88d6d9 100644 --- a/nixos/modules/i18n/input-method/default.xml +++ b/nixos/modules/i18n/input-method/default.xml @@ -5,11 +5,7 @@ xml:id="module-services-input-methods"> Input Methods - Input methods are an operating system component that allows any data, such as - keyboard strokes or mouse movements, to be received as input. In this way - users can enter characters and symbols not found on their input devices. - Using an input method is obligatory for any language that has more graphemes - than there are keys on the keyboard. + Input methods are an operating system component that allows any data, such as keyboard strokes or mouse movements, to be received as input. In this way users can enter characters and symbols not found on their input devices. Using an input method is obligatory for any language that has more graphemes than there are keys on the keyboard. The following input methods are available in NixOS: @@ -40,8 +36,7 @@ IBus - IBus is an Intelligent Input Bus. It provides full featured and user - friendly input method user interface. + IBus is an Intelligent Input Bus. It provides full featured and user friendly input method user interface. @@ -56,8 +51,7 @@ i18n.inputMethod = { - i18n.inputMethod.ibus.engines is optional and can be used - to add extra IBus engines. + i18n.inputMethod.ibus.engines is optional and can be used to add extra IBus engines. @@ -67,8 +61,7 @@ i18n.inputMethod = { - Anthy (ibus-engines.anthy): Anthy is a system for - Japanese input method. It converts Hiragana text to Kana Kanji mixed text. + Anthy (ibus-engines.anthy): Anthy is a system for Japanese input method. It converts Hiragana text to Kana Kanji mixed text. @@ -78,28 +71,22 @@ i18n.inputMethod = { - m17n (ibus-engines.m17n): m17n is an input method that - uses input methods and corresponding icons in the m17n database. + m17n (ibus-engines.m17n): m17n is an input method that uses input methods and corresponding icons in the m17n database. - mozc (ibus-engines.mozc): A Japanese input method from - Google. + mozc (ibus-engines.mozc): A Japanese input method from Google. - Table (ibus-engines.table): An input method that load - tables of input methods. + Table (ibus-engines.table): An input method that load tables of input methods. - table-others (ibus-engines.table-others): Various - table-based input methods. To use this, and any other table-based input - methods, it must appear in the list of engines along with - table. For example: + table-others (ibus-engines.table-others): Various table-based input methods. To use this, and any other table-based input methods, it must appear in the list of engines along with table. For example: ibus.engines = with pkgs.ibus-engines; [ table table-others ]; @@ -108,22 +95,13 @@ ibus.engines = with pkgs.ibus-engines; [ table table-others ]; - To use any input method, the package must be added in the configuration, as - shown above, and also (after running nixos-rebuild) the - input method must be added from IBus' preference dialog. + To use any input method, the package must be added in the configuration, as shown above, and also (after running nixos-rebuild) the input method must be added from IBus' preference dialog. Troubleshooting - If IBus works in some applications but not others, a likely cause of this - is that IBus is depending on a different version of glib - to what the applications are depending on. This can be checked by running - nix-store -q --requisites <path> | grep glib, - where <path> is the path of either IBus or an - application in the Nix store. The glib packages must - match exactly. If they do not, uninstalling and reinstalling the - application is a likely fix. + If IBus works in some applications but not others, a likely cause of this is that IBus is depending on a different version of glib to what the applications are depending on. This can be checked by running nix-store -q --requisites <path> | grep glib, where <path> is the path of either IBus or an application in the Nix store. The glib packages must match exactly. If they do not, uninstalling and reinstalling the application is a likely fix. @@ -131,8 +109,7 @@ ibus.engines = with pkgs.ibus-engines; [ table table-others ]; Fcitx - Fcitx is an input method framework with extension support. It has three - built-in Input Method Engine, Pinyin, QuWei and Table-based input methods. + Fcitx is an input method framework with extension support. It has three built-in Input Method Engine, Pinyin, QuWei and Table-based input methods. @@ -147,8 +124,7 @@ i18n.inputMethod = { - i18n.inputMethod.fcitx.engines is optional and can be - used to add extra Fcitx engines. + i18n.inputMethod.fcitx.engines is optional and can be used to add extra Fcitx engines. @@ -158,15 +134,12 @@ i18n.inputMethod = { - Anthy (fcitx-engines.anthy): Anthy is a system for - Japanese input method. It converts Hiragana text to Kana Kanji mixed text. + Anthy (fcitx-engines.anthy): Anthy is a system for Japanese input method. It converts Hiragana text to Kana Kanji mixed text. - Chewing (fcitx-engines.chewing): Chewing is an - intelligent Zhuyin input method. It is one of the most popular input - methods among Traditional Chinese Unix users. + Chewing (fcitx-engines.chewing): Chewing is an intelligent Zhuyin input method. It is one of the most popular input methods among Traditional Chinese Unix users. @@ -181,20 +154,17 @@ i18n.inputMethod = { - m17n (fcitx-engines.m17n): m17n is an input method that - uses input methods and corresponding icons in the m17n database. + m17n (fcitx-engines.m17n): m17n is an input method that uses input methods and corresponding icons in the m17n database. - mozc (fcitx-engines.mozc): A Japanese input method from - Google. + mozc (fcitx-engines.mozc): A Japanese input method from Google. - table-others (fcitx-engines.table-others): Various - table-based input methods. + table-others (fcitx-engines.table-others): Various table-based input methods. @@ -203,9 +173,7 @@ i18n.inputMethod = { Nabi - Nabi is an easy to use Korean X input method. It allows you to enter - phonetic Korean characters (hangul) and pictographic Korean characters - (hanja). + Nabi is an easy to use Korean X input method. It allows you to enter phonetic Korean characters (hangul) and pictographic Korean characters (hanja). @@ -222,8 +190,7 @@ i18n.inputMethod = { Uim - Uim (short for "universal input method") is a multilingual input method - framework. Applications can use it through so-called bridges. + Uim (short for "universal input method") is a multilingual input method framework. Applications can use it through so-called bridges. @@ -237,8 +204,7 @@ i18n.inputMethod = { - Note: The option can be - used to choose uim toolbar. + Note: The option can be used to choose uim toolbar. -- cgit 1.4.1