From 4c0198f0fe247f3e6b15da7433d15dc6a896d7bf Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Fri, 24 Feb 2012 08:12:01 +0100 Subject: .osx: Tweak some more hidden preferences Thanks to @Lri! Ref. #5. --- .osx | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to '.osx') diff --git a/.osx b/.osx index d863992..962d1fc 100755 --- a/.osx +++ b/.osx @@ -29,6 +29,9 @@ defaults write NSGlobalDomain AppleShowScrollBars -string "Always" # Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons defaults write com.apple.finder QuitMenuItem -bool true +# Disable window animations and Get Info animations in Finder +defaults write com.apple.finder DisableAllAnimations -bool true + # Show all filename extensions in Finder defaults write NSGlobalDomain AppleShowAllExtensions -bool true @@ -56,6 +59,10 @@ defaults write com.apple.dock show-process-indicators -bool true # Don’t animate opening applications from the Dock defaults write com.apple.dock launchanim -bool false +# Display ASCII control characters using caret notation in standard text views +# Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt` +defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true + # Disable press-and-hold for keys in favor of key repeat defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false @@ -65,7 +72,7 @@ defaults write NSGlobalDomain KeyRepeat -int 0 # Disable auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false -# Disable window animations +# Disable opening and closing window animations defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false # Enable AirDrop over Ethernet and on unsupported Macs running Lion @@ -79,6 +86,7 @@ defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true # Automatically open a new Finder window when a volume is mounted defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true +defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true # Display full POSIX path as Finder window title defaults write com.apple.finder _FXShowPosixPathInTitle -bool true @@ -121,21 +129,27 @@ defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2 # Enable Safari’s debug menu defaults write com.apple.Safari IncludeInternalDebugMenu -bool true +# Make Safari’s search banners default to Contains instead of Starts With +defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false + # Remove useless icons from Safari’s bookmarks bar defaults write com.apple.Safari ProxiesInBookmarksBar "()" +# Add a context menu item for showing the Web Inspector in web views +defaults write NSGlobalDomain WebKitDeveloperExtras -bool true + # Only use UTF-8 in Terminal.app defaults write com.apple.terminal StringEncodings -array 4 # Disable the Ping sidebar in iTunes defaults write com.apple.iTunes disablePingSidebar -bool true -# Make ⌘ + F focus the search input in iTunes -defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" - # Disable all the other Ping stuff in iTunes defaults write com.apple.iTunes disablePing -bool true +# Make ⌘ + F focus the search input in iTunes +defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F" + # Disable send and reply animations in Mail.app defaults write com.apple.Mail DisableReplyAnimations -bool true defaults write com.apple.Mail DisableSendAnimations -bool true @@ -155,7 +169,7 @@ chflags nohidden ~/Library # Disable local Time Machine backups hash tmutil &> /dev/null && sudo tmutil disablelocal -# Remove Dropbox’s green checkmark icons in Finder.app +# Remove Dropbox’s green checkmark icons in Finder file=/Applications/Dropbox.app/Contents/Resources/check.icns [ -e "$file" ] && mv -f "$file" "$file.bak" unset file -- cgit v1.2.3