From ba6d7f676601bd54015de825b4a9430c8179878d Mon Sep 17 00:00:00 2001 From: samwhelp Date: Sun, 2 Jun 2024 11:05:05 +0800 Subject: [PATCH] fix --- README.md | 12 + read/subject/input-method.md | 85 ++++++ read/subject/input-method/fcitx5.md | 242 ++++++++++++++++++ .../fcitx5/module/fcitx5-chewing.md | 185 +++++++++++++ .../fcitx5/table/fcitx5-table-boshiamy.md | 202 +++++++++++++++ .../fcitx5/table/fcitx5-table-easy-large.md | 202 +++++++++++++++ 6 files changed, 928 insertions(+) create mode 100644 read/subject/input-method.md create mode 100644 read/subject/input-method/fcitx5.md create mode 100644 read/subject/input-method/fcitx5/module/fcitx5-chewing.md create mode 100644 read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.md create mode 100644 read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.md diff --git a/README.md b/README.md index 7dc2974..f983228 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ * [微調腳本](#微調腳本) * [按鍵綁定](#按鍵綁定) +* [輸入法](#輸入法) * [佈景主題](#佈景主題) * [工具](#工具) * [如何](#如何) @@ -41,6 +42,17 @@ +## 輸入法 + +| 中文輸入法 | 微調腳本 | +| ---------- | -------- | +| [新酷音輸入法](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/module/fcitx5-chewing.html) | [微調腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-chewing) | +| [嘸蝦米輸入法](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.html) | [微調腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-table-boshiamy) | +| [輕鬆輸入法](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.html) | [微調腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-table-easy-large) | + + + + ## 佈景主題 | 佈景主題 | diff --git a/read/subject/input-method.md b/read/subject/input-method.md new file mode 100644 index 0000000..9ae50a6 --- /dev/null +++ b/read/subject/input-method.md @@ -0,0 +1,85 @@ +--- +title: 輸入法 +nav_order: 3030 +has_children: true +--- + + +# 輸入法 + + +## 中文輸入法 + + +## 主題 + +* [輸入法框架切換指令](#輸入法框架切換指令) +* [fcitx5](#fcitx5) +* [相關議題](#相關議題) + + + + +## 輸入法框架切換指令 + +| 輸入法框架 | 切換指令 | 設定檔路徑 | +| --- | --- | --- | +| [fcitx5](#fcitx5) | `imsettings-switch fcitx5` | ~/.config/imsettings/xinputrc | +| ibus | `imsettings-switch ibus` | ~/.config/imsettings/xinputrc | +| gcin | `imsettings-switch gcin` | ~/.config/imsettings/xinputrc | + +> 執行下面指令,顯示有那些「輸入法架構」可供選擇。 + +``` sh +imsettings-list +``` + +顯示 + +``` +* 1: IBus[ibus.conf] (recommended) + 2: X compose table[xcompose.conf] + 3: fcitx5[fcitx5.conf] + 4: gcin[gcin.conf] +``` + +> 執行下面指令,將「輸入法架構」切換到「fcitx5」。 + +``` sh +imsettings-switch fcitx5 +``` + +> 執行下面指令,觀看「`~/.config/imsettings/xinputrc`」這個檔案的類型。 + +``` sh +file ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +/home/user/.config/imsettings/xinputrc: symbolic link to /etc/X11/xinit/xinput.d/fcitx5.conf +``` + +> 表示「`~/.config/imsettings/xinputrc`」這個檔案,會軟連結到「/etc/X11/xinit/xinput.d/fcitx5.conf」這個檔案。 + + + + +## fcitx5 + +| 模組 | 中文輸入法 | +| --- | --- | +| [fcitx5-chewing](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/module/fcitx5-chewing.html) | 新酷音輸入法 | +| [fcitx5-table-boshiamy](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.html) | 嘸蝦米輸入法 | +| [fcitx5-table-easy-large](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.html) | 輕鬆輸入法 | + + + + +## 相關議題 + +| 相關議題 | +| --- | +| [語系](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/locale.html) | +| [字型](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/font.html) | diff --git a/read/subject/input-method/fcitx5.md b/read/subject/input-method/fcitx5.md new file mode 100644 index 0000000..03112c5 --- /dev/null +++ b/read/subject/input-method/fcitx5.md @@ -0,0 +1,242 @@ +--- +title: fcitx5 +nav_order: 3120 +has_children: true +parent: 輸入法 +--- + + +# fcitx5 + + +## 主題 + +* [輸入法](#輸入法) +* [佈景主題](#佈景主題) +* [Package](#package) + + + + +## 輸入法 + +| 模組 | 中文輸入法 | +| --- | --- | +| [fcitx5-chewing](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/module/fcitx5-chewing.html) | 新酷音輸入法 | +| [fcitx5-table-boshiamy](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.html) | 嘸蝦米輸入法 | +| [fcitx5-table-easy-large](https://samwhelp.github.io/note-about-ultramarine-budgie/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.html) | 輕鬆輸入法 | + + + + + +## 佈景主題 + +| 議題 | +| --- | +| [佈景主題](https://samwhelp.github.io/note-about-ubuntu/read/subject/im/fcitx5/themes.html) | + + + + +## libime + +| 議題 | +| --- | +| [libime-bin](https://samwhelp.github.io/note-about-ubuntu/read/subject/im/fcitx5/package/libime-bin.html) | +| [libime_tabledict](https://samwhelp.github.io/note-about-ubuntu/read/subject/im/fcitx5/command/libime_tabledict.html) | + + + + +## Fcitx Wiki + +* [Setup Fcitx 5](https://fcitx-im.org/wiki/Setup_Fcitx_5) + + + + +## Arch Wiki + +* [Fcitx5](https://wiki.archlinux.org/title/Fcitx5) + + + + +## Package Search + +執行 + +``` sh +dnf search fcitx5 +``` + +顯示 + +``` +========================= Name Exactly Matched: fcitx5 ========================= +fcitx5.x86_64 : Next generation of fcitx +======================== Name & Summary Matched: fcitx5 ======================== +fcitx5-anthy.x86_64 : Anthy Wrapper for Fcitx5 +fcitx5-autostart.noarch : This package will make fcitx5 start with your GUI session +fcitx5-chinese-addons.x86_64 : Chinese related addon for fcitx5 +fcitx5-chinese-addons.i686 : Chinese related addon for fcitx5 +fcitx5-chinese-addons-data.noarch : Data files of fcitx5-chinese-addons +fcitx5-chinese-addons-devel.i686 : Development files for fcitx5-chinese-addons +fcitx5-chinese-addons-devel.x86_64 : Development files for fcitx5-chinese-addons +fcitx5-configtool.x86_64 : Configuration tools used by fcitx5 +fcitx5-configtool.i686 : Configuration tools used by fcitx5 +fcitx5-data.noarch : Data files of Fcitx5 +fcitx5-devel.i686 : Development files for fcitx5 +fcitx5-devel.x86_64 : Development files for fcitx5 +fcitx5-gtk-devel.i686 : Development files for fcitx5-gtk +fcitx5-gtk-devel.x86_64 : Development files for fcitx5-gtk +fcitx5-gtk2.x86_64 : fcitx5 gtk module for gtk2 +fcitx5-gtk2.i686 : fcitx5 gtk module for gtk2 +fcitx5-gtk3.x86_64 : fcitx5 gtk module for gtk3 +fcitx5-gtk4.x86_64 : fcitx5 gtk module for gtk4 +fcitx5-hangul.x86_64 : Hangul Wrapper for Fcitx5 +fcitx5-kkc.x86_64 : Libkkc input method support for Fcitx5 +fcitx5-libs.x86_64 : Libraries for fcitx5 +fcitx5-libs.i686 : Libraries for fcitx5 +fcitx5-libthai.x86_64 : Libthai Wrapper for Fcitx5 +fcitx5-lua-devel.i686 : Development files for fcitx5-lua +fcitx5-lua-devel.x86_64 : Development files for fcitx5-lua +fcitx5-m17n.x86_64 : m17n Wrapper for Fcitx5 +fcitx5-migrator.i686 : Migration tools for fcitx5 +fcitx5-migrator.x86_64 : Migration tools for fcitx5 +fcitx5-migrator-devel.i686 : Devel files for fcitx5-migrator +fcitx5-migrator-devel.x86_64 : Devel files for fcitx5-migrator +fcitx5-mozc.x86_64 : A wrapper of mozc for fcitx5 +fcitx5-openbangla.aarch64 : OpenBangla Keyboard for Fcitx5 +fcitx5-openbangla.x86_64 : OpenBangla Keyboard for Fcitx5 +fcitx5-openbangla-debuginfo.aarch64 : Debug information for package fcitx5-openbangla +fcitx5-openbangla-debuginfo.x86_64 : Debug information for package fcitx5-openbangla +fcitx5-qt.x86_64 : Qt library and IM module for fcitx5 +fcitx5-qt.i686 : Qt library and IM module for fcitx5 +fcitx5-qt-devel.i686 : Development files for fcitx5-qt +fcitx5-qt-devel.x86_64 : Development files for fcitx5-qt +fcitx5-qt-libfcitx5qt5widgets.i686 : Provide libFcitx5Qt5WidgetsAddons for fcitx5 +fcitx5-qt-libfcitx5qt5widgets.x86_64 : Provide libFcitx5Qt5WidgetsAddons for fcitx5 +fcitx5-qt-libfcitx5qt6widgets.x86_64 : Provide libFcitx5Qt6WidgetsAddons for fcitx5 +fcitx5-qt-libfcitx5qt6widgets.i686 : Provide libFcitx5Qt6WidgetsAddons for fcitx5 +fcitx5-qt-libfcitx5qtdbus.x86_64 : Provides libFcitx5Qt5DBusAddons for fcitx5 +fcitx5-qt-libfcitx5qtdbus.i686 : Provides libFcitx5Qt5DBusAddons for fcitx5 +fcitx5-qt-qt5gui.i686 : Provide gui wrapper for fcitx5 with qt5 +fcitx5-qt-qt5gui.x86_64 : Provide gui wrapper for fcitx5 with qt5 +fcitx5-qt-qt6gui.x86_64 : Provide gui wrapper for fcitx5 with qt6 +fcitx5-qt-qt6gui.i686 : Provide gui wrapper for fcitx5 with qt6 +fcitx5-qt5.x86_64 : Provides seperately modules for fcitx5-qt +fcitx5-qt5.i686 : Provides seperately modules for fcitx5-qt +fcitx5-qt6.x86_64 : Qt 6 support for fcitx5 +fcitx5-qt6.i686 : Qt 6 support for fcitx5 +fcitx5-sayura.x86_64 : Sinhala Transe IME engine for Fcitx5 +fcitx5-skk.x86_64 : Japanese SKK (Simple Kana Kanji) Engine for Fcitx5 +fcitx5-table-extra.noarch : Extra tables for Fcitx5 +fcitx5-table-other.noarch : Other tables for Fcitx5 +fcitx5-unikey.x86_64 : Unikey support for Fcitx5 +fcitx5-zhuyin-data.noarch : Data files for fcitx5-zhuyin +============================= Name Matched: fcitx5 ============================= +fcitx5-chewing.x86_64 : Chewing Wrapper for Fcitx +fcitx5-gtk.x86_64 : Gtk im module and glib based dbus client library +fcitx5-gtk.i686 : Gtk im module and glib based dbus client library +fcitx5-lua.x86_64 : Lua support for fcitx +fcitx5-lua.i686 : Lua support for fcitx +fcitx5-rime.x86_64 : RIME support for Fcitx +fcitx5-zhuyin.x86_64 : Libzhuyin Wrapper for Fcitx +kcm-fcitx5.i686 : Config tools to be used on KDE based environment. +kcm-fcitx5.x86_64 : Config tools to be used on KDE based environment. +``` + + + + +## Package + +執行下面指令 + +``` sh +dnf search fcitx5 | grep ' : ' | sort -u | awk -F ' : ' '{print $1}' | awk -F '.' '{print "| ["$1"](https://packages.fedoraproject.org/pkgs/"$1"/"$1") |"}' +``` + +| Package | +| ------- | +| [fcitx5-anthy](https://packages.fedoraproject.org/pkgs/fcitx5-anthy/fcitx5-anthy) | +| [fcitx5-autostart](https://packages.fedoraproject.org/pkgs/fcitx5-autostart/fcitx5-autostart) | +| [fcitx5-chewing](https://packages.fedoraproject.org/pkgs/fcitx5-chewing/fcitx5-chewing) | +| [fcitx5-chinese-addons-data](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons-data/fcitx5-chinese-addons-data) | +| [fcitx5-chinese-addons-devel](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons-devel/fcitx5-chinese-addons-devel) | +| [fcitx5-chinese-addons-devel](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons-devel/fcitx5-chinese-addons-devel) | +| [fcitx5-chinese-addons](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-chinese-addons) | +| [fcitx5-chinese-addons](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-chinese-addons) | +| [fcitx5-configtool](https://packages.fedoraproject.org/pkgs/fcitx5-configtool/fcitx5-configtool) | +| [fcitx5-configtool](https://packages.fedoraproject.org/pkgs/fcitx5-configtool/fcitx5-configtool) | +| [fcitx5-data](https://packages.fedoraproject.org/pkgs/fcitx5-data/fcitx5-data) | +| [fcitx5-devel](https://packages.fedoraproject.org/pkgs/fcitx5-devel/fcitx5-devel) | +| [fcitx5-devel](https://packages.fedoraproject.org/pkgs/fcitx5-devel/fcitx5-devel) | +| [fcitx5-gtk2](https://packages.fedoraproject.org/pkgs/fcitx5-gtk2/fcitx5-gtk2) | +| [fcitx5-gtk2](https://packages.fedoraproject.org/pkgs/fcitx5-gtk2/fcitx5-gtk2) | +| [fcitx5-gtk3](https://packages.fedoraproject.org/pkgs/fcitx5-gtk3/fcitx5-gtk3) | +| [fcitx5-gtk4](https://packages.fedoraproject.org/pkgs/fcitx5-gtk4/fcitx5-gtk4) | +| [fcitx5-gtk-devel](https://packages.fedoraproject.org/pkgs/fcitx5-gtk-devel/fcitx5-gtk-devel) | +| [fcitx5-gtk-devel](https://packages.fedoraproject.org/pkgs/fcitx5-gtk-devel/fcitx5-gtk-devel) | +| [fcitx5-gtk](https://packages.fedoraproject.org/pkgs/fcitx5-gtk/fcitx5-gtk) | +| [fcitx5-gtk](https://packages.fedoraproject.org/pkgs/fcitx5-gtk/fcitx5-gtk) | +| [fcitx5-hangul](https://packages.fedoraproject.org/pkgs/fcitx5-hangul/fcitx5-hangul) | +| [fcitx5-kkc](https://packages.fedoraproject.org/pkgs/fcitx5-kkc/fcitx5-kkc) | +| [fcitx5-libs](https://packages.fedoraproject.org/pkgs/fcitx5-libs/fcitx5-libs) | +| [fcitx5-libs](https://packages.fedoraproject.org/pkgs/fcitx5-libs/fcitx5-libs) | +| [fcitx5-libthai](https://packages.fedoraproject.org/pkgs/fcitx5-libthai/fcitx5-libthai) | +| [fcitx5-lua-devel](https://packages.fedoraproject.org/pkgs/fcitx5-lua-devel/fcitx5-lua-devel) | +| [fcitx5-lua-devel](https://packages.fedoraproject.org/pkgs/fcitx5-lua-devel/fcitx5-lua-devel) | +| [fcitx5-lua](https://packages.fedoraproject.org/pkgs/fcitx5-lua/fcitx5-lua) | +| [fcitx5-lua](https://packages.fedoraproject.org/pkgs/fcitx5-lua/fcitx5-lua) | +| [fcitx5-m17n](https://packages.fedoraproject.org/pkgs/fcitx5-m17n/fcitx5-m17n) | +| [fcitx5-migrator-devel](https://packages.fedoraproject.org/pkgs/fcitx5-migrator-devel/fcitx5-migrator-devel) | +| [fcitx5-migrator-devel](https://packages.fedoraproject.org/pkgs/fcitx5-migrator-devel/fcitx5-migrator-devel) | +| [fcitx5-migrator](https://packages.fedoraproject.org/pkgs/fcitx5-migrator/fcitx5-migrator) | +| [fcitx5-migrator](https://packages.fedoraproject.org/pkgs/fcitx5-migrator/fcitx5-migrator) | +| [fcitx5-mozc](https://packages.fedoraproject.org/pkgs/fcitx5-mozc/fcitx5-mozc) | +| [fcitx5-openbangla](https://packages.fedoraproject.org/pkgs/fcitx5-openbangla/fcitx5-openbangla) | +| [fcitx5-openbangla-debuginfo](https://packages.fedoraproject.org/pkgs/fcitx5-openbangla-debuginfo/fcitx5-openbangla-debuginfo) | +| [fcitx5-openbangla-debuginfo](https://packages.fedoraproject.org/pkgs/fcitx5-openbangla-debuginfo/fcitx5-openbangla-debuginfo) | +| [fcitx5-openbangla](https://packages.fedoraproject.org/pkgs/fcitx5-openbangla/fcitx5-openbangla) | +| [fcitx5-qt5](https://packages.fedoraproject.org/pkgs/fcitx5-qt5/fcitx5-qt5) | +| [fcitx5-qt5](https://packages.fedoraproject.org/pkgs/fcitx5-qt5/fcitx5-qt5) | +| [fcitx5-qt6](https://packages.fedoraproject.org/pkgs/fcitx5-qt6/fcitx5-qt6) | +| [fcitx5-qt6](https://packages.fedoraproject.org/pkgs/fcitx5-qt6/fcitx5-qt6) | +| [fcitx5-qt-devel](https://packages.fedoraproject.org/pkgs/fcitx5-qt-devel/fcitx5-qt-devel) | +| [fcitx5-qt-devel](https://packages.fedoraproject.org/pkgs/fcitx5-qt-devel/fcitx5-qt-devel) | +| [fcitx5-qt](https://packages.fedoraproject.org/pkgs/fcitx5-qt/fcitx5-qt) | +| [fcitx5-qt-libfcitx5qt5widgets](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qt5widgets/fcitx5-qt-libfcitx5qt5widgets) | +| [fcitx5-qt-libfcitx5qt5widgets](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qt5widgets/fcitx5-qt-libfcitx5qt5widgets) | +| [fcitx5-qt-libfcitx5qt6widgets](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qt6widgets/fcitx5-qt-libfcitx5qt6widgets) | +| [fcitx5-qt-libfcitx5qt6widgets](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qt6widgets/fcitx5-qt-libfcitx5qt6widgets) | +| [fcitx5-qt-libfcitx5qtdbus](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qtdbus/fcitx5-qt-libfcitx5qtdbus) | +| [fcitx5-qt-libfcitx5qtdbus](https://packages.fedoraproject.org/pkgs/fcitx5-qt-libfcitx5qtdbus/fcitx5-qt-libfcitx5qtdbus) | +| [fcitx5-qt-qt5gui](https://packages.fedoraproject.org/pkgs/fcitx5-qt-qt5gui/fcitx5-qt-qt5gui) | +| [fcitx5-qt-qt5gui](https://packages.fedoraproject.org/pkgs/fcitx5-qt-qt5gui/fcitx5-qt-qt5gui) | +| [fcitx5-qt-qt6gui](https://packages.fedoraproject.org/pkgs/fcitx5-qt-qt6gui/fcitx5-qt-qt6gui) | +| [fcitx5-qt-qt6gui](https://packages.fedoraproject.org/pkgs/fcitx5-qt-qt6gui/fcitx5-qt-qt6gui) | +| [fcitx5-qt](https://packages.fedoraproject.org/pkgs/fcitx5-qt/fcitx5-qt) | +| [fcitx5-rime](https://packages.fedoraproject.org/pkgs/fcitx5-rime/fcitx5-rime) | +| [fcitx5-sayura](https://packages.fedoraproject.org/pkgs/fcitx5-sayura/fcitx5-sayura) | +| [fcitx5-skk](https://packages.fedoraproject.org/pkgs/fcitx5-skk/fcitx5-skk) | +| [fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-table-extra/fcitx5-table-extra) | +| [fcitx5-table-other](https://packages.fedoraproject.org/pkgs/fcitx5-table-other/fcitx5-table-other) | +| [fcitx5-unikey](https://packages.fedoraproject.org/pkgs/fcitx5-unikey/fcitx5-unikey) | +| [fcitx5](https://packages.fedoraproject.org/pkgs/fcitx5/fcitx5) | +| [fcitx5-zhuyin-data](https://packages.fedoraproject.org/pkgs/fcitx5-zhuyin-data/fcitx5-zhuyin-data) | +| [fcitx5-zhuyin](https://packages.fedoraproject.org/pkgs/fcitx5-zhuyin/fcitx5-zhuyin) | +| [kcm-fcitx5](https://packages.fedoraproject.org/pkgs/kcm-fcitx5/kcm-fcitx5) | +| [kcm-fcitx5](https://packages.fedoraproject.org/pkgs/kcm-fcitx5/kcm-fcitx5) | + + + + +> 執行下面指令,產生「[BBCode](https://zh.m.wikipedia.org/zh-tw/BBCode)」 + + +``` sh +dnf search fcitx5 | grep ' : ' | sort -u | awk -F ' : ' '{print $1}' | awk -F '.' '{print "* [url=https://packages.fedoraproject.org/pkgs/"$1"/"$1"]"$1"[/url]"}' +``` diff --git a/read/subject/input-method/fcitx5/module/fcitx5-chewing.md b/read/subject/input-method/fcitx5/module/fcitx5-chewing.md new file mode 100644 index 0000000..f314a93 --- /dev/null +++ b/read/subject/input-method/fcitx5/module/fcitx5-chewing.md @@ -0,0 +1,185 @@ +--- +title: 如何安裝「新酷音輸入法」 +nav_order: 3101 +has_children: false +parent: fcitx5 +grand_parent: 輸入法 +--- + + +# 如何安裝「新酷音輸入法」 + +> 如何安裝「[fcitx5-chewing](https://packages.fedoraproject.org/pkgs/fcitx5-chewing/fcitx5-chewing/)」。 + + + + +## 主題 + +* [微調腳本](#微調腳本) +* [指令安裝](#指令安裝) +* [切換輸入法架構](#切換輸入法架構) +* [加入輸入法](#加入輸入法) +* [備註](#備註) + + + + +## 微調腳本 + +| 微調腳本 | 中文輸入法 | +| -------- | ---------- | +| [fcitx5-chewing 安裝設定腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-chewing) | 新酷音輸入法 | + + + + +## 指令安裝 + +執行下面指令,安裝「imsettings」。 + +``` sh +sudo dnf install imsettings +``` + +執行下面指令,安裝「fcitx5」和「fcitx5-chewing」。 + +``` sh +sudo dnf install fcitx5 fcitx5-chewing +``` + +執行下面指令,確保安裝支援「GTK」和「QT」環境所需要的「Package」。 + +``` sh +sudo dnf install fcitx5-gtk2 fcitx5-gtk3 fcitx5-gtk4 fcitx5-qt fcitx5-qt6 +``` + +執行下面指令,安裝「圖形設定介面」的「輔助工具」。 + +``` sh +sudo dnf install fcitx5-configtool +``` + +> 可以參考我的「[package-list.txt](https://github.com/samwhelp/ultramarine-budgie-adjustment/blob/main/prototype/main/im-config/fcitx5/fcitx5-chewing/package-list.txt)」。 + +| Package | +| ------- | +| [imsettings](https://packages.fedoraproject.org/pkgs/imsettings/imsettings) | +| [fcitx5](https://packages.fedoraproject.org/pkgs/fcitx5/fcitx5) | +| [fcitx5-chewing](https://packages.fedoraproject.org/pkgs/fcitx5-chewing/fcitx5-chewing) | +| [fcitx5-configtool](https://packages.fedoraproject.org/pkgs/fcitx5-configtool/fcitx5-configtool) | +| [fcitx5-gtk2](https://packages.fedoraproject.org/pkgs/fcitx5-gtk2/fcitx5-gtk2) | +| [fcitx5-gtk3](https://packages.fedoraproject.org/pkgs/fcitx5-gtk3/fcitx5-gtk3) | +| [fcitx5-gtk4](https://packages.fedoraproject.org/pkgs/fcitx5-gtk4/fcitx5-gtk4) | +| [fcitx5-qt](https://packages.fedoraproject.org/pkgs/fcitx5-qt/fcitx5-qt) | +| [fcitx5-qt6](https://packages.fedoraproject.org/pkgs/fcitx5-qt6/fcitx5-qt6) | + + +> 上面的安裝指令,可以合併在一起如下 + +``` sh +sudo dnf install \ + imsettings \ + fcitx5 \ + fcitx5-chewing \ + fcitx5-gtk2 \ + fcitx5-gtk3 \ + fcitx5-gtk4 \ + fcitx5-qt \ + fcitx5-qt6 \ + fcitx5-configtool + +``` + + + + +## 切換輸入法架構 + +> 執行下面指令,顯示有那些「輸入法架構」可供選擇。 + +``` sh +imsettings-list +``` + +顯示 + +``` +* 1: IBus[ibus.conf] (recommended) + 2: X compose table[xcompose.conf] + 3: fcitx5[fcitx5.conf] +``` + +> 執行下面指令,將「輸入法架構」切換到「fcitx5」。 + +``` sh +imsettings-switch fcitx5 +``` + +> 重新登出,然後登入,就會生效。 + + + + +## 加入輸入法 + +透過「圖形操作介面程式(`fcitx5-configtool`)」, + +加入「新酷音輸入法(`fcitx5-chewing`)」這個「輸入法」。 + + + + +## 備註 + +### ~/.config/imsettings/xinputrc + +上面的步驟「`imsettings-switch fcitx5`」,會產生「`~/.config/imsettings/xinputrc`」這個檔案。 + +執行 + +``` sh +file ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +/home/user/.config/imsettings/xinputrc: symbolic link to /etc/X11/xinit/xinput.d/fcitx5.conf +``` + +> 表示「`~/.config/imsettings/xinputrc`」這個檔案,會軟連結到「/etc/X11/xinit/xinput.d/fcitx5.conf」這個檔案。 + + +執行下面指令,觀看「`~/.config/imsettings/xinputrc`」這個檔案的內容 + +``` sh +cat ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +XIM=fcitx5 +XIM_PROGRAM=/usr/bin/fcitx5 +ICON="fcitx5" +XIM_ARGS="-D" +PREFERENCE_PROGRAM=/usr/bin/fcitx5-configtool +SHORT_DESC="fcitx5" +GTK_IM_MODULE=fcitx +if test -f /usr/lib/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \ + test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so; +then + QT_IM_MODULE=fcitx +else + QT_IM_MODULE=xim +fi + +# workaround for gnome users +if [ "$XDG_SESSION_DESKTOP" = "gnome" ]; then + /usr/bin/systemd-run --user --unit=$XIM $XIM_PROGRAM $XIM_ARGS +fi + +``` diff --git a/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.md b/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.md new file mode 100644 index 0000000..a72c51d --- /dev/null +++ b/read/subject/input-method/fcitx5/table/fcitx5-table-boshiamy.md @@ -0,0 +1,202 @@ +--- +title: 如何安裝「嘸蝦米輸入法」 +nav_order: 3201 +has_children: false +parent: fcitx5 +grand_parent: 輸入法 +--- + + +# 如何安裝「嘸蝦米輸入法」 + +> 如何安裝「[fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-table-extra/fcitx5-table-extra)」。 + + + + +## 主題 + +* [微調腳本](#微調腳本) +* [指令安裝](#指令安裝) +* [切換輸入法架構](#切換輸入法架構) +* [加入輸入法](#加入輸入法) +* [備註](#備註) + + + + +## 微調腳本 + +| 微調腳本 | 中文輸入法 | +| -------- | ---------- | +| [fcitx5-table-boshiamy 安裝設定腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-table-boshiamy) | 嘸蝦米輸入法 | + + + + +## 指令安裝 + +執行下面指令,安裝「imsettings」。 + +``` sh +sudo dnf install imsettings +``` + +執行下面指令,安裝「fcitx5」。 + +``` sh +sudo dnf install fcitx5 +``` + +執行下面指令,安裝「[fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-table-extra/fcitx5-table-extra)」和「[fcitx5-chinese-addons](https://packages.ubuntu.com/noble/fcitx5-chinese-addons)」。 + +``` sh +sudo dnf install fcitx5-table-extra fcitx5-chinese-addons +``` + +執行下面指令,確保安裝支援「GTK」和「QT」環境所需要的「Package」。 + +``` sh +sudo dnf install fcitx5-gtk2 fcitx5-gtk3 fcitx5-gtk4 fcitx5-qt fcitx5-qt6 +``` + +執行下面指令,安裝「圖形設定介面」的「輔助工具」。 + +``` sh +sudo dnf install fcitx5-configtool +``` + +> 可以參考我的「[package-list.txt](https://github.com/samwhelp/ultramarine-budgie-adjustment/blob/main/prototype/main/im-config/fcitx5/fcitx5-chewing/package-list.txt)」。 + +| Package | +| ------- | +| [imsettings](https://packages.fedoraproject.org/pkgs/imsettings/imsettings) | +| [fcitx5](https://packages.fedoraproject.org/pkgs/fcitx5/fcitx5) | +| [fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-table-extra) | +| [fcitx5-chinese-addons](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-chinese-addons) | +| [fcitx5-configtool](https://packages.fedoraproject.org/pkgs/fcitx5-configtool/fcitx5-configtool) | +| [fcitx5-gtk2](https://packages.fedoraproject.org/pkgs/fcitx5-gtk2/fcitx5-gtk2) | +| [fcitx5-gtk3](https://packages.fedoraproject.org/pkgs/fcitx5-gtk3/fcitx5-gtk3) | +| [fcitx5-gtk4](https://packages.fedoraproject.org/pkgs/fcitx5-gtk4/fcitx5-gtk4) | +| [fcitx5-qt](https://packages.fedoraproject.org/pkgs/fcitx5-qt/fcitx5-qt) | +| [fcitx5-qt6](https://packages.fedoraproject.org/pkgs/fcitx5-qt6/fcitx5-qt6) | + + +> 上面的安裝指令,可以合併在一起如下 + +``` sh +sudo dnf install \ + imsettings \ + fcitx5 \ + fcitx5-table-extra \ + fcitx5-chinese-addons \ + fcitx5-gtk2 \ + fcitx5-gtk3 \ + fcitx5-gtk4 \ + fcitx5-qt \ + fcitx5-qt6 \ + fcitx5-configtool + +``` + + + + +## 切換輸入法架構 + +> 執行下面指令,顯示有那些「輸入法架構」可供選擇。 + +``` sh +imsettings-list +``` + +顯示 + +``` +* 1: IBus[ibus.conf] (recommended) + 2: X compose table[xcompose.conf] + 3: fcitx5[fcitx5.conf] +``` + +> 執行下面指令,將「輸入法架構」切換到「fcitx5」。 + +``` sh +imsettings-switch fcitx5 +``` + +> 重新登出,然後登入,就會生效 + + + + +## 加入輸入法 + +透過「圖形操作介面程式(`fcitx5-configtool`)」, + +加入「嘸蝦米輸入法(`fcitx5-table-boshiamy`)」這個「輸入法」。 + + + + +## 備註 + +### ~/.config/imsettings/xinputrc + +上面的步驟「`imsettings-switch fcitx5`」,會產生「`~/.config/imsettings/xinputrc`」這個檔案。 + +執行 + +``` sh +file ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +/home/user/.config/imsettings/xinputrc: symbolic link to /etc/X11/xinit/xinput.d/fcitx5.conf +``` + +> 表示「`~/.config/imsettings/xinputrc`」這個檔案,會軟連結到「/etc/X11/xinit/xinput.d/fcitx5.conf」這個檔案。 + + +執行下面指令,觀看「`~/.config/imsettings/xinputrc`」這個檔案的內容 + +``` sh +cat ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +XIM=fcitx5 +XIM_PROGRAM=/usr/bin/fcitx5 +ICON="fcitx5" +XIM_ARGS="-D" +PREFERENCE_PROGRAM=/usr/bin/fcitx5-configtool +SHORT_DESC="fcitx5" +GTK_IM_MODULE=fcitx +if test -f /usr/lib/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \ + test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so; +then + QT_IM_MODULE=fcitx +else + QT_IM_MODULE=xim +fi + +# workaround for gnome users +if [ "$XDG_SESSION_DESKTOP" = "gnome" ]; then + /usr/bin/systemd-run --user --unit=$XIM $XIM_PROGRAM $XIM_ARGS +fi + +``` + + + + +## 相關議題 + +| 相關議題 | +| --- | +| [如何簡易安裝「fcitx5-table-boshiamy」](https://samwhelp.github.io/note-about-ubuntu/read/subject/im/fcitx5/howto/install-fcitx5-table-boshiamy.html) | diff --git a/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.md b/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.md new file mode 100644 index 0000000..a50a4e7 --- /dev/null +++ b/read/subject/input-method/fcitx5/table/fcitx5-table-easy-large.md @@ -0,0 +1,202 @@ +--- +title: 如何安裝「輕鬆輸入法」 +nav_order: 3201 +has_children: false +parent: fcitx5 +grand_parent: 輸入法 +--- + + +# 如何安裝「輕鬆輸入法」 + +> 如何安裝「[fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-table-extra/fcitx5-table-extra)」。 + + + + +## 主題 + +* [微調腳本](#微調腳本) +* [指令安裝](#指令安裝) +* [切換輸入法架構](#切換輸入法架構) +* [加入輸入法](#加入輸入法) +* [備註](#備註) + + + + +## 微調腳本 + +| 微調腳本 | 中文輸入法 | +| -------- | ---------- | +| [fcitx5-table-easy-large 安裝設定腳本](https://github.com/samwhelp/ultramarine-budgie-adjustment/tree/main/prototype/main/im-config/fcitx5/fcitx5-table-easy-large) | 輕鬆輸入法 | + + + + +## 指令安裝 + +執行下面指令,安裝「imsettings」。 + +``` sh +sudo dnf install imsettings +``` + +執行下面指令,安裝「fcitx5」。 + +``` sh +sudo apt-get install fcitx5 +``` + +執行下面指令,安裝「[fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-table-extra/fcitx5-table-extra)」和「[fcitx5-chinese-addons](https://packages.ubuntu.com/noble/fcitx5-chinese-addons)」。 + +``` sh +sudo dnf install fcitx5-table-extra fcitx5-chinese-addons +``` + +執行下面指令,確保安裝支援「GTK」和「QT」環境所需要的「Package」。 + +``` sh +sudo dnf install fcitx5-gtk2 fcitx5-gtk3 fcitx5-gtk4 fcitx5-qt fcitx5-qt6 +``` + +執行下面指令,安裝「圖形設定介面」的「輔助工具」。 + +``` sh +sudo dnf install fcitx5-configtool +``` + +> 可以參考我的「[package-list.txt](https://github.com/samwhelp/ultramarine-budgie-adjustment/blob/main/prototype/main/im-config/fcitx5/fcitx5-chewing/package-list.txt)」。 + +| Package | +| ------- | +| [imsettings](https://packages.fedoraproject.org/pkgs/imsettings/imsettings) | +| [fcitx5](https://packages.fedoraproject.org/pkgs/fcitx5/fcitx5) | +| [fcitx5-table-extra](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-table-extra) | +| [fcitx5-chinese-addons](https://packages.fedoraproject.org/pkgs/fcitx5-chinese-addons/fcitx5-chinese-addons) | +| [fcitx5-configtool](https://packages.fedoraproject.org/pkgs/fcitx5-configtool/fcitx5-configtool) | +| [fcitx5-gtk2](https://packages.fedoraproject.org/pkgs/fcitx5-gtk2/fcitx5-gtk2) | +| [fcitx5-gtk3](https://packages.fedoraproject.org/pkgs/fcitx5-gtk3/fcitx5-gtk3) | +| [fcitx5-gtk4](https://packages.fedoraproject.org/pkgs/fcitx5-gtk4/fcitx5-gtk4) | +| [fcitx5-qt](https://packages.fedoraproject.org/pkgs/fcitx5-qt/fcitx5-qt) | +| [fcitx5-qt6](https://packages.fedoraproject.org/pkgs/fcitx5-qt6/fcitx5-qt6) | + + +> 上面的安裝指令,可以合併在一起如下 + +``` sh +sudo dnf install \ + imsettings \ + fcitx5 \ + fcitx5-table-extra \ + fcitx5-chinese-addons \ + fcitx5-gtk2 \ + fcitx5-gtk3 \ + fcitx5-gtk4 \ + fcitx5-qt \ + fcitx5-qt6 \ + fcitx5-configtool + +``` + + + + +## 切換輸入法架構 + +> 執行下面指令,顯示有那些「輸入法架構」可供選擇。 + +``` sh +imsettings-list +``` + +顯示 + +``` +* 1: IBus[ibus.conf] (recommended) + 2: X compose table[xcompose.conf] + 3: fcitx5[fcitx5.conf] +``` + +> 執行下面指令,將「輸入法架構」切換到「fcitx5」。 + +``` sh +imsettings-switch fcitx5 +``` + +> 重新登出,然後登入,就會生效。 + + + + +## 加入輸入法 + +透過「圖形操作介面程式(`fcitx5-configtool`)」, + +加入「嘸蝦米輸入法(`fcitx5-table-easy-large`)」這個「輸入法」。 + + + + +## 備註 + +### ~/.config/imsettings/xinputrc + +上面的步驟「`imsettings-switch fcitx5`」,會產生「`~/.config/imsettings/xinputrc`」這個檔案。 + +執行 + +``` sh +file ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +/home/user/.config/imsettings/xinputrc: symbolic link to /etc/X11/xinit/xinput.d/fcitx5.conf +``` + +> 表示「`~/.config/imsettings/xinputrc`」這個檔案,會軟連結到「/etc/X11/xinit/xinput.d/fcitx5.conf」這個檔案。 + + +執行下面指令,觀看「`~/.config/imsettings/xinputrc`」這個檔案的內容 + +``` sh +cat ~/.config/imsettings/xinputrc +``` + +顯示 + +``` +XIM=fcitx5 +XIM_PROGRAM=/usr/bin/fcitx5 +ICON="fcitx5" +XIM_ARGS="-D" +PREFERENCE_PROGRAM=/usr/bin/fcitx5-configtool +SHORT_DESC="fcitx5" +GTK_IM_MODULE=fcitx +if test -f /usr/lib/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib64/qt4/plugins/inputmethods/qtim-fcitx5.so || \ + test -f /usr/lib/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so || \ + test -f /usr/lib64/qt5/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so; +then + QT_IM_MODULE=fcitx +else + QT_IM_MODULE=xim +fi + +# workaround for gnome users +if [ "$XDG_SESSION_DESKTOP" = "gnome" ]; then + /usr/bin/systemd-run --user --unit=$XIM $XIM_PROGRAM $XIM_ARGS +fi + +``` + + + + +## 相關議題 + +| 相關議題 | +| --- | +| [如何簡易安裝「fcitx5-table-easy-large」](https://samwhelp.github.io/note-about-ubuntu/read/subject/im/fcitx5/howto/install-fcitx5-table-easy-large.html) |