Skip to content

使用 Trime 重現 Android 上的港式中英混合輸入方法

License

Notifications You must be signed in to change notification settings

goofyz/hk-mix-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

簡介

本 project 嘗試便用 Trime 重現港式中英混合輸入鍵盤。

安裝步驟

  1. 安裝 Trime 3.2.16 (舊的不行啊)
  2. 開啟「同文輸入法」,允許所有權限
  3. 到「同文輸入法」 > 「鍵盤設定」> 「嵌入式編輯模式」> 揀 「輸入碼」,這樣打字時 default 會出英文。
  4. 下載此 repo 中的所有檔案,Copy 到 內置儲存空間/rime 入面。
  5. 到「同文輸入法」 > 「主題與配色」 > 「主題」 > 「Trime」> 「確定」一次
  6. 到「同文輸入法」 > 「方案」 > 揀 "hk_mixed_cangjie5/hk_mixed_quick" (會 load 好耐好耐 (5 分鐘或以上))
  7. 按「部署」

PS: 抄了檔案後,開啟「同文輸入法」或部署時,會 load 好耐好耐 (5 分鐘或以上) PS2: 建議安裝 apk 後先開啟「同文輸入法」作設定。如未做第一次設定但已抄了檔案,做設定時畫面會 freeze 了沒有回應。如出現此情況,請繼續等。

修改 Tips

  • 基本上只需要改 trime.custom.yamlhk_mixed_cangjie5.custom.yaml/hk_mixed_quick.custom.yaml
    • trime.custom.yaml: 修改外觀顏色和鍵盤設定
    • hk_mixed_cangjie5.custom.yaml/hk_mixed_quick.custom.yaml: 輸入法運作
  • 請參考 Trime WikiRime Customization Guide
  • 修改 trime.custom.yaml 後,記得到「同文輸入法」>「主題與配色」>「主題」> 「Trime」> 「確定」一次,以 apply 你的修改。
  • 修改 hk_mixed_cangjie5.custom.yaml/hk_mixed_quick.custom.yaml (輸入法)後,要按「部署」。
  • 如果修改又 deploy 後,沒有反應,請到 /rime/build 下查看有沒有你新的改動。
  • 有新詞語可新增到 hk_mixed_input.custom.dict.yaml ,注意字語和字碼之間是 tab 非 space。

常見問題

  • 「語音輸入」出現「沒有權限」的話,請自行到 Android (設定 -> 應用程式)給予相關權限。
  • 自定義詞庫中的,字詞與字碼中間必須為 tab (\t),space 是沒有反應的。
  • 如有問題可整個 /rime/build 刪除再重做一次。

鳴謝

About

使用 Trime 重現 Android 上的港式中英混合輸入方法

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published