Skip to content

Instantly share code, notes, and snippets.

@the-paulus
Created April 23, 2017 00:41
Show Gist options
  • Save the-paulus/4ad68b18333e89fbff12f7bc990db110 to your computer and use it in GitHub Desktop.
Save the-paulus/4ad68b18333e89fbff12f7bc990db110 to your computer and use it in GitHub Desktop.
Some commands to tweak MacOS

Set The Screen Saver As The Wallpaper:

/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background

Show Hidden Files In Finder

defaults write com.apple.finder AppleShowAllFiles TRUE

Make Hidden Applications Icons Transparent

defaults write com.apple.Dock showhidden -bool YES
killall Dock

Increase Time Machine Backups

sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 1800

Disable local Time Machine Backups

sudo tmutil disablelocal

Enable Debug Menu In Safari

defaults write com.apple.Safari IncludeDebugMenu 1

Enable Web Inspector

defaults write com.apple.Safari WebKitDeveloperExtras -bool true

Enable The Path View In Finder

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Change The Login Picture

defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture "/path/to/file.png"

Add A Message To The Login Window

sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "Your Message"

2D Dock

defaults write com.apple.dock no-glass -boolean YES
killall Dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment