輸入法相關

2024-02-28 工作雜記 Linux

設定中文輸入法

在windows時我習慣是使用微軟新注音輸入法,轉到Linux 的替代方案是新酷音。以下是我安裝新酷音的步驟。

至於輸入法框架,因為是使用 Gnome 桌面系統,在試過 fcitx 與 ibus 之後,最後是 ibus 比較能再大多數軟體上正常運作。fcitx 在有些時候會出現閃退或無法輸入中文字的狀況,至於是什麼原因就沒有仔細探究。

設定中文語系

sudo apt install locales-all
sudo dpkg-reconfigure locales
  1. 選擇語系編碼

https://ithelp.ithome.com.tw/upload/images/20220917/20128528Dh8jOw8GxP.png

  1. 選擇主要語系

這邊我習慣選擇 en_US.UTF8,讓系統介面顯示英文為主。

https://ithelp.ithome.com.tw/upload/images/20220917/20128528lT7XTEu3gq.png

  1. 選擇完之後系統就會自動開始設定。
❯ sudo dpkg-reconfigure locales
Generating locales (this might take a while)...
  en_US.UTF-8... done
  zh_TW.BIG5... done
  zh_TW.EUC-TW... done
  zh_TW.UTF-8... done
Generation complete.

安裝新酷音

sudo apt install ibus-chewing chewing-editor

新酷音字詞編輯工具

sudo apt install chewing-editor

liber-office 中文介面

sudo apt install libreoffice-l10n-zh-tw

下載新酷音詞庫

這邊我直接分享給大家我的檔案吧,這是我平時會使用的詞彙。

匯入新酷音詞庫

開啟剛剛安裝的 chewing-editor 按下匯入就可以了。

https://ithelp.ithome.com.tw/upload/images/20220917/201285287H38d4SZ5J.png

參考資料

Ubuntu 20.04 iBus 酷音輸入法編輯使用者詞彙