Defaults setup

  • defaults write -g InitialKeyRepeat -int 10 # Fix slow initial key repeat (great for arrow keys)
  • defaults write -g KeyRepeat -int 1 # Fix slow key repeat (also great for arrow keys)
  • defaults write -g ApplePressAndHoldEnabled -bool false # (Optional) Disable the accent marks overlay when pressing a key for a long time

  • defaults write -g NSWindowShouldDragOnGesture -bool true # Drag a window by pressing Control ⌃ Commmand ⌘ + click anywhere in the window

  • defaults write NSGlobalDomain "NSToolbarTitleViewRolloverDelay" -float "0" # Make file proxy appear immediately (the little icon in the toolbar inside a window that you can drag to move the open file elsewhere)

  • defaults write com.apple.finder ShowPathbar -bool true # Finder show path bar

  • defaults write com.apple.Preview ApplePersistenceIgnoreState YES # Don't keep open previously previewed files (?)
  • defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true # don't create .DS_Store on network
  • defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true # don't create .DS_Store on usb devices

Settings

  • System Settings → Battery → Battery → Tick Low power mode # ×2 my battery time, and can't notice any difference in snappiness.

  • sudo vim /etc/pam.d/sudo_local and add to the top this line auth include sudo_local # Using touch id for sudo authentication

  • System Settings → Siri & Spotlight → Spotlight Privacy… → Add the following paths:

/usr, /bin, /sbin, /opt, /private, /Library
/System/Library
~/.cache
~/Library/{Caches, Logs, Application Support, Containers, Group Containers}

Apps

  • Terminal: (https://iterm2.com)[iTerm2]
  • Video player: (https://iina.io)[IINA]
  • Show in GUI all open files and sockets by an app: Sloth

Other (if used)

If using iCloud - enable end-to-end encryption (disabled by default)

System settings → Apple ID → iCloud → Set Advanced Data Protection to On. System settings → Apple ID → iCloud → Disable Access iCloud Data on the Web.

References

  • (My macOS setup.md)[https://gist.github.com/devnoname120/4767a0aa18879217170fd0c68809fc24#keyboard)
  • https://privacy.sexy/
  • https://tldr.inbrowser.app
← Back to Articles