macOS Finder 預設字體不滿意?透過 defaults 指令即可自訂介面字體、標題列字體與大小,隨時可還原預設。本文提供完整指令與操作步驟。
defaults write com.apple.finder NSSystemFont -string "AmericanTypewriter"
將 AmericanTypewriter 替換為任意已安裝字體名稱(如 PingFang TC、Heiti TC)。
# 字體
defaults write com.apple.finder NSTitleBarFont -string "ArialBlack"
# 大小(例如 16pt)
defaults write com.apple.finder NSTitleBarFontSize -int 16
# 套用變更
killall Finder
ArialBlack 而非 Arial Black)。killall Finder 會重啟 Finder 使設定即時生效。defaults delete com.apple.finder NSSystemFont
defaults delete com.apple.finder NSTitleBarFont
defaults delete com.apple.finder NSTitleBarFontSize
killall Finder
執行後 Finder 將恢復預設 Lucida Grande(舊版)或 San Francisco(新版)字體。
# 列出所有字體 PostScript 名稱
osascript -e 'tell application "Font Book" to get name of every font'
# 或使用字體簿 App 查看
使用 PostScript 名稱(無空格)較保險。