-
Notifications
You must be signed in to change notification settings - Fork 97
使用說明_其他可以透過終端機調整的進階設定
Weizhong Yang a.k.a zonble edited this page Nov 28, 2025
·
11 revisions
除了鍵盤配置外,小麥注音還有一些可以從終端機調整的選項。
小麥注音在輸入打不出字的注音時(例如ㄌㄨㄚ ˇ),會將目前的注音清除。要保留注音,可以在終端機下輸入以下指令:
defaults write org.openvanilla.inputmethod.McBopomofo KeepReadingUponCompositionError -bool true
要回復成預設行為:
defaults delete org.openvanilla.inputmethod.McBopomofo KeepReadingUponCompositionError請參考 #331 了解設計此一隱藏設定的動機。
以下命令會將選字窗選項的字型改為仿宋體:
defaults write org.openvanilla.inputmethod.McBopomofo CandidateTextFontName -string STFangsong以下命令會將選字窗數字標籤的字型改為羅馬體:
defaults write org.openvanilla.inputmethod.McBopomofo CandidateKeyLabelFontName -string Times字體名稱必須是 macOS 的系統識別名,可從「字體簿」(Font Book) 應用程式中取得。
以下命令會將上述兩個設定還原到預設值:
defaults delete org.openvanilla.inputmethod.McBopomofo CandidateTextFontName
defaults delete org.openvanilla.inputmethod.McBopomofo CandidateKeyLabelFontNamedefaults write org.openvanilla.inputmethod.McBopomofo SelectCandidateWithNumericKeypad -bool YES要回復為預設值:
defaults delete org.openvanilla.inputmethod.McBopomofo SelectCandidateWithNumericKeypad小麥注音預設組字區最多可放十個字。如果需要加長或縮短,可從終端機輸入以下命令:
defaults write org.openvanilla.inputmethod.McBopomofo ComposingBufferSize -int 20上述命令會將長度改為 20 個字。
下列指令將設定還原到預設值:
defaults delete org.openvanilla.inputmethod.McBopomofo ComposingBufferSize小麥注音 2.3 版可以從偏好設定中直接修改這個設定。2.4 版後取消組字區長度限制,以上設定不再有任何作用。
defaults write org.openvanilla.inputmethod.McBopomofo EnableUserPhrasesInPlainBopomofo -bool true
請參考 #540 所提及的設計考量與功能限制。