macOS 系統設置除了打開「系統偏好設定」進行設置之外,還有一部分系統設置只能採用執行命令操作來完成。本文主要介紹常用的採用命令對系統設置的操作。
1
|
sudo spctl --master-disable
|
1
|
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
|
1
|
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true
|
1
|
defaults write com.apple.finder AppleShowAllFiles -bool true
|
1
|
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
|
1
|
defaults -currentHost write -globalDomain AppleFontSmoothing -int 1
|
1
|
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2
|
1
|
defaults -currentHost write -globalDomain AppleFontSmoothing -int 3
|
1
|
defaults -currentHost write -globalDomain AppleFontSmoothing -int 0
|
1
2
|
defaults read -g CGFontRenderingFontSmoothingDisabled
defaults -currentHost read -globalDomain AppleFontSmoothing
|