OS X Mountain Lion較之前的Lion在細(xì)節(jié)上改變不少,許多操作方式和設(shè)置都被無情的取消了,不過Github上的mathiasbynens為大家匯總了一份用來解決這個問題的命令行名單,這些命令行可以把被ML禁用的諸多使用方式和設(shè)置解放哦:
以下是幾個比較典型的command lines:
# 總是顯示滾動欄
defaults write NSGlobalDomain AppleShowScrollBars -string “Always”
# 取消“你要確定想要打開此應(yīng)用嗎?” 對話框
defaults write com.apple.LaunchServices LSQuarantine -bool false
# 增加藍(lán)牙耳機(jī)的聲音質(zhì)量
defaults write com.apple.BluetoothAudioAgent “Apple Bitpool Min (editable)” -int 40
# 睡眠/屏保開啟時要求輸入密碼
defaults write com.apple.screensaver askForPassword -int 1
defaults write com.apple.screensaver askForPasswordDelay -int 0
# 保存截屏圖直接到桌面
defaults write com.apple.screencapture location -string “$HOME/Desktop”
# 開啟Safari下的debug菜單
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
# 重置Launchpad
find ~/Library/Application\ Support/Dock -name “*.db” -maxdepth 1 -delete
# 開啟2D Dock
#defaults write com.apple.dock no-glass -bool true
【下載】