Skip to content

Instantly share code, notes, and snippets.

@byronjones-elsevier
Created February 18, 2022 17:48
Show Gist options
  • Save byronjones-elsevier/4e8eef1d4665e25d5e5e320f977a679a to your computer and use it in GitHub Desktop.
Save byronjones-elsevier/4e8eef1d4665e25d5e5e320f977a679a to your computer and use it in GitHub Desktop.
#Finder - Full Path in the Title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES|NO
#Finder - Show All Files
defaults write com.apple.finder AllShowAllFiles TRUE|FALSE
#Finder - Add Quit to Menu
defaults write com.apple.finder QuitMenuItem -bool TRUE|FALSE && killall Finder
#Dialogs Print - Show the Extended Print Dialog by default
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE|FALSE
#Dialogs Save - Show the Extended Save Dialog by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE|FALSE
#Desktop - Show System Info
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
sudo defaults delete /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
#Desktop - Show Single Application at a Time
defaults write com.apple.dock single-app -bool TRUE|FALSE && killall Dock
#LaunchPad - Change Number of Apps in Rows and Columns
defaults write com.apple.dock springboard-columns -int X
defaults write com.apple.dock springboard-rows -int X
defaults write com.apple.dock ResetLaunchPad -bool TRUE && killall Dock
To revert to defaults: defaults delete com.apple.dock springboard-rows|columns
#ScreenCapture - Disable Shadow
defaults write com.apple.screencapture disable-shadow -bool TRUE|FALSE
#ScreenCapture - Change Default Save Folder
defaults write com.apple.screencapture location ${HOME}/Pictures/Screenshots && killall SystemUIServer
#Desktop - Show Volumes
#Internal Drives
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool TRUE|FALSE
#Removable
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool TRUE|FALSE
#External Drives
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool TRUE|FALSE
#Mounted Server Shares
defaults write com.apple.finder ShowMountedServersOnDesktop -bool TRUE|FALSE
#Desktop - Disable .DSStore Files on USB Drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores TRUE|FALSE
#TextEdit - Save as Plain Text by default
defaults write com.apple.TextEdit RichText -int 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment