Skip to content


User Interface

Dark Theme for Menubar and Dock but overall Light Theme.

  1. System Preferences, then set the theme to LIGHT, then run
  2. defaults write -g NSRequiresAquaSystemAppearance -bool Yes
  3. Logout, then System Preferences, then set the theme to DARK.

Reset back to the default theme.
defaults write -g NSRequiresAquaSystemAppearance -bool No

Expand Print Panel by Default

defaults write -g PMPrintingExpandedStateForPrint -bool true && \
defaults write -g PMPrintingExpandedStateForPrint2 -bool true

Screenshots Location
defaults write location <custom-folder-location>

Quit Printer App After Print Jobs Complete
defaults write "Quit When Finished" -bool true


Disable Dock Auto Hide Animation
defaults write autohide-time-modifier -int 0;killall Dock

Reset Back to Default
defaults delete autohide-time-modifier;killall Dock

Clean up the "Open With" Menu

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


Flush DNS Cache

sudo killall -HUP mDNSResponder; sudo killall mDNSResponderHelper; sudo dscacheutil -flushcache

Turn off ‘Microsoft AutoUpdate’

check status
launchctl print-disabled gui/$(id -u) | grep microsoft

disable the service
launchctl disable gui/$(id -u)/

Block Websites

  1. sudo nano /etc/hosts
  2. Add
  3. Save > Exit (CTRL + x > y)