


usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:iconSize 64 " ~/Library/Preferences/ usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:iconSize 64 " ~/Library/Preferences/ # Set the size of icons on the desktop and in other icon views usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid " ~/Library/Preferences/ usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid " ~/Library/Preferences/ usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid " ~/Library/Preferences/ # Enable snap-to-grid for icons on the desktop and in other icon views DS_Store files on network volumesĭefaults write DSDontWriteNetworkStores -bool true # Remove the spring loading delay for directoriesĭefaults write NSGlobalDomain -float 0.1 # Disable the warning when changing a file extensionĭefaults write FXEnableExtensionChangeWarning -bool falseĭefaults write NSGlobalDomain -bool true # When performing a search, search the current folder by defaultĭefaults write FXDefaultSearchScope -string "SCcf "
#OSX SHOW DOT FILES FULL#
# Display full POSIX path as Finder window titleĭefaults write _FXShowPosixPathInTitle -bool true # Finder: allow text selection in Quick Lookĭefaults write QLEnableTextSelection -bool true # defaults write AppleShowAllFiles -bool trueĭefaults write NSGlobalDomain AppleShowAllExtensions -bool trueĭefaults write ShowStatusBar -bool true # Show icons for hard drives, servers, and removable media on the desktopĭefaults write ShowExternalHardDrivesOnDesktop -bool trueĭefaults write ShowHardDrivesOnDesktop -bool trueĭefaults write ShowMountedServersOnDesktop -bool trueĭefaults write ShowRemovableMediaOnDesktop -bool true # (The KeyRepeat option requires logging out and back in to take effect.)ĭefaults write NSGlobalDomain InitialKeyRepeat -int 20ĭefaults write NSGlobalDomain KeyRepeat -int 1ĭefaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool falseĭefaults write location -string " $/Desktop/ " # Set a blazingly fast keyboard repeat rate, and make it happen more quickly. # Disable press-and-hold for keys in favor of key repeatĭefaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false # Trackpad: map bottom right corner to right-click (requires restart!)ĭefaults write .trackpad TrackpadRightClick -bool trueĭefaults write TrackpadRightClick -bool trueĭefaults write TrackpadCornerSecondar圜lick -int 2ĭefaults write NSGlobalDomain ContextMenuGesture -int 1 # Trackpad: Haptic feedback (light, silent clicking)ĭefaults write FirstClickThreshold -int 0ĭefaults write ActuationStrength -int 0
#OSX SHOW DOT FILES BLUETOOTH#
# Trackpad, mouse, keyboard, Bluetooth accessories, and input # Osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/System/Library/Desktop Pictures/Solid Colors/Stone.png" ' # Disable smart dashes as they’re annoying when typing codeĭefaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false # Disable smart quotes as they’re annoying when typing codeĭefaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false # Restart automatically if the computer freezes # Automatically quit printer app once the print jobs completeĭefaults write "Quit When Finished " -bool true # Save to disk (not to iCloud) by defaultĭefaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false While true do sudo -n true sleep 60 kill -0 " $$ " || exit done 2>/dev/null &ĭefaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool trueĭefaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
#OSX SHOW DOT FILES UPDATE#
# Update existing `sudo` timestamp until `.osx` has finished To run as root, run the same command prepended with 'sudo', for example: $ sudo $0\n\n " | fold -s -w 80 Printf "Certain commands will not be run without sudo privileges. # Warn that some commands will not be run if the script is not run as root. Store new defaults in file: `defaults read > after`

Store current defaults in file: `defaults read > before` # If you want to figure out what default needs changing, do the following: # -no-restart: Don't restart any apps or services after running the script. Third-party app config should be done elsewhere. # and sets up preferences and configurations for all the built-in services and # This configuration applies to the latest version of macOS (currently 11.3),
