MacOS setting preferences

#Mac

01. System Preferences

- Func key: - System Preferences > Keyboard > Keyboard > Use F1, F2, etc. keys as standard function keys - Keyboard controls: - System Preferences > Keyboard > Shortcuts > Use keyboard navigation to move focus between controls - Tab to Click: - System Preferences > Trackpad > Point & Click > Tap to click - Three finger drag: - System Preferences > Accessibility > Pointer Control > Trackpad Options… > Enable dragging, three finger drag - Show date on the menu bar: - System Preferences > Date & Time > Clock > Show date - Dock automatically hide: - System Preferences > Dock > Automatically hide and show the Dock - Auto switch input source: - System Preferences > Keyboard > Input Sources > Automatically switch to a document's input source - Hot corners: - System Preferences > Desktop & Dock > Hot Corners: - Left top: ⌘ Lock Screen - Left bottom: Launchpad - Right top: Mission control - Right bottom: Desktop - User name on right top corner: - System Preferences > Control Center > Fast User Switching > Show in Menu Bar: Full Name - Lock screen massage: - System Preferences > Lock Screen > Show message when locked > Set… - Drag a window from anywhere, not just the top bar:

defaults write -g NSWindowShouldDragOnGesture -bool true


# Set the docking time to 0.5 seconds

defaults write com.apple.dock autohide-time-modifier -float 0.5 && killall Dock



# Set the startup dock response time to minimum

defaults write com.apple.dock autohide-delay -int 0 && killall Dock



# Restore the default animation time of the startup dock

defaults delete com.apple.dock autohide-time-modifier && killall Dock



# Restore the default startup dock response time

defaults delete com.apple.Dock autohide-delay && killall Dock


# Set number of columns

defaults write com.apple.dock springboard-columns -int 7



# Set the number of rows

defaults write com.apple.dock springboard-rows -int 6



# Restart Dock to take effect

killall Dock



# Restore the default number of columns and rows

defaults write com.apple.dock springboard-rows Default

defaults write com.apple.dock springboard-columns Default



# Restart the Dock to take effect

killall Dock

02. System Software

Finder

- Preferences - General -> Show these on the desktop -> Select None - I try to keep my desktop completely clean. - General -> New Finder windows show -> Home Folder - I prefer to see my home folder in each new finder window instead of recent documents - Advanced -> Show all filename extensions -> Yes - Advanced -> Show warning before changing an extension -> No - Advanced -> When performing a search -> Search the current folder - View - Show Status Bar - Show Path Bar - Show Tab Bar

03.Third party software

- Allow installation of Apps from any source

sudo spctl --master-disable


# Installing

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# installing in China

/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"

# configure

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile

eval "$(/opt/homebrew/bin/brew shellenv)"

# cask

brew install cask


brew install --cask battery

battery maintain 80


xattr -cr /Applications/MessAuto.app


open -n /Applications/WeChat.app/Contents/MacOS/WeChat