Comment by klaushardt
5 months ago
I just dump my default changes here. Maybe somebody finds something usefull for themself. Added the command from this thread too. :) Edit: Looks like i already did edit this before since mine was already at 8 and 12. Added the original source like its linked above.
# Defaults and other Stuff
sudo scutil --set HostName nix
# https://macos-defaults.com/
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
defaults write NSGlobalDomain NSDocumentSaveNewDocumentsToCloud -bool false
defaults write com.apple.dock "autohide-delay" -float "0" && killall Dock
defaults write com.apple.dock "autohide-time-modifier" -float "0.3" && killall Dock
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"; killall Finder
defaults write com.apple.screencapture "disable-shadow" -bool "true"
defaults write com.apple.dock "tilesize" -int "38" && killall Dock
defaults write com.apple.dock "mineffect" -string "scale" && killall Dock
defaults write com.apple.finder "ShowExternalHardDrivesOnDesktop" -bool "false" && killall Finder
defaults write com.apple.finder "ShowRemovableMediaOnDesktop" -bool "false" && killall Finder
defaults write com.apple.dock "mru-spaces" -bool "false" && killall Dock
defaults write com.apple.TimeMachine "DoNotOfferNewDisksForBackup" -bool "true"
defaults write com.apple.dock "enable-spring-load-actions-on-all-items" -bool "true" && killall Dock
defaults write com.apple.Music "userWantsPlaybackNotifications" -bool "false" && killall Music
# https://www.jessesquires.com/blog/2023/12/16/macbook-notch-and-menu-bar-fixes/
# https://www.reddit.com/r/MacOS/comments/16lpfg5/hidden_preference_to_alter_the_menubar_spacing/
# https://flaky.build/native-fix-for-applications-hiding-under-the-macbook-pro-notch
# https://news.ycombinator.com/item?id=39343919
defaults -currentHost write -globalDomain NSStatusItemSelectionPadding -int 8
defaults -currentHost write -globalDomain NSStatusItemSpacing -int 12
# https://www.reddit.com/r/macgaming/comments/16ra8di/metal_hud_enabledisable_shortcut/
# https://www.icloud.com/shortcuts/1271048e407543d391415934cad5edcd
defaults write -g MetalForceHudEnabled -bool YES
/bin/launchctl setenv MTL_HUD_ENABLED 1
No comments yet
Contribute on Hacker News ↗