Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 202 lines (140 sloc) 8.318 kb
9f0ec47 Mathias Bynens Enable full keyboard access for all controls (e.g. enable Tab in modal d...
authored
1 # Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
2 defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
3
7c704cb Mathias Bynens Minor tweaks.
authored
4 # Enable subpixel font rendering on non-Apple LCDs
5 defaults write NSGlobalDomain AppleFontSmoothing -int 2
6
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
7 # Enable the 2D Dock
7d02270 Mathias Bynens Initial commit.
authored
8 defaults write com.apple.dock no-glass -bool true
9
4e4ca80 Mathias Bynens Automatically hide and show the Dock.
authored
10 # Automatically hide and show the Dock
11 defaults write com.apple.dock autohide -bool true
12
2bb5745 Mathias Bynens Minor cleanup.
authored
13 # Make Dock icons of hidden applications translucent
cdbb059 Mathias Bynens Disable the “Are you sure you want to open this application?” dialog.
authored
14 defaults write com.apple.dock showhidden -bool true
2bb5745 Mathias Bynens Minor cleanup.
authored
15
be0af1e Mathias Bynens .osx: Enable iTunes track notifications in the Dock
authored
16 # Enable iTunes track notifications in the Dock
17 defaults write com.apple.dock itunes-notifications -bool true
18
7d02270 Mathias Bynens Initial commit.
authored
19 # Disable menu bar transparency
f150692 Mathias Bynens Use `NSGlobalDomain` instead of `-g`.
authored
20 defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
7d02270 Mathias Bynens Initial commit.
authored
21
91918d7 Mathias Bynens Show remaining battery time; hide percentage.
authored
22 # Show remaining battery time; hide percentage
23 defaults write com.apple.menuextra.battery ShowPercent -string "NO"
24 defaults write com.apple.menuextra.battery ShowTime -string "YES"
25
45806ef Mathias Bynens Always show scrollbars.
authored
26 # Always show scrollbars
27 defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
28
09750d2 Mathias Bynens Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons.
authored
29 # Allow quitting Finder via ⌘ + Q; doing so will also hide desktop icons
30 defaults write com.apple.finder QuitMenuItem -bool true
31
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
32 # Disable window animations and Get Info animations in Finder
33 defaults write com.apple.finder DisableAllAnimations -bool true
34
e00f487 Mathias Bynens Show all filename extensions in Finder. (Can be set via Finder → Prefere...
authored
35 # Show all filename extensions in Finder
36 defaults write NSGlobalDomain AppleShowAllExtensions -bool true
37
f20ac5f Mathias Bynens .osx: Show status bar in Finder
authored
38 # Show status bar in Finder
39 defaults write com.apple.finder ShowStatusBar -bool true
40
7d02270 Mathias Bynens Initial commit.
authored
41 # Expand save panel by default
f150692 Mathias Bynens Use `NSGlobalDomain` instead of `-g`.
authored
42 defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
7d02270 Mathias Bynens Initial commit.
authored
43
44 # Expand print panel by default
f150692 Mathias Bynens Use `NSGlobalDomain` instead of `-g`.
authored
45 defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
7d02270 Mathias Bynens Initial commit.
authored
46
cdbb059 Mathias Bynens Disable the “Are you sure you want to open this application?” dialog.
authored
47 # Disable the “Are you sure you want to open this application?” dialog
48 defaults write com.apple.LaunchServices LSQuarantine -bool false
49
7d02270 Mathias Bynens Initial commit.
authored
50 # Disable shadow in screenshots
51 defaults write com.apple.screencapture disable-shadow -bool true
52
53 # Enable highlight hover effect for the grid view of a stack (Dock)
54 defaults write com.apple.dock mouse-over-hilte-stack -bool true
a4a0fa1 Giuseppe Burtini Added enable-spring-load-actions-on-all-items -bool true
gburtini authored
55
916f5f7 Mathias Bynens Comment tweak.
authored
56 # Enable spring loading for all Dock items
04e19f2 Mathias Bynens .osx: Fix typo in the Dock spring loading tweak
authored
57 defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
7d02270 Mathias Bynens Initial commit.
authored
58
6b3819f Mathias Bynens Show indicator lights for open applications in the Dock, and don’t anima...
authored
59 # Show indicator lights for open applications in the Dock
cdbb059 Mathias Bynens Disable the “Are you sure you want to open this application?” dialog.
authored
60 defaults write com.apple.dock show-process-indicators -bool true
6b3819f Mathias Bynens Show indicator lights for open applications in the Dock, and don’t anima...
authored
61
62 # Don’t animate opening applications from the Dock
cdbb059 Mathias Bynens Disable the “Are you sure you want to open this application?” dialog.
authored
63 defaults write com.apple.dock launchanim -bool false
6b3819f Mathias Bynens Show indicator lights for open applications in the Dock, and don’t anima...
authored
64
7134df8 Mathias Bynens .osx: Remove the auto-hiding Dock delay
authored
65 # Remove the auto-hiding Dock delay
66 defaults write com.apple.Dock autohide-delay -float 0
67
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
68 # Display ASCII control characters using caret notation in standard text views
69 # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
70 defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
71
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
72 # Disable press-and-hold for keys in favor of key repeat
f150692 Mathias Bynens Use `NSGlobalDomain` instead of `-g`.
authored
73 defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
74
7c46342 Mathias Bynens Set a blazingly fast keyboard repeat rate.
authored
75 # Set a blazingly fast keyboard repeat rate
76 defaults write NSGlobalDomain KeyRepeat -int 0
77
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
78 # Disable auto-correct
79 defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
80
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
81 # Disable opening and closing window animations
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
82 defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
83
2433b1b Mathias Bynens Enable AirDrop over Ethernet and on unsupported Macs running OS X Lion.
authored
84 # Enable AirDrop over Ethernet and on unsupported Macs running Lion
85 defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
86
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
87 # Disable disk image verification
88 defaults write com.apple.frameworks.diskimages skip-verify -bool true
89 defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
90 defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
91
92 # Automatically open a new Finder window when a volume is mounted
93 defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
94 defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
95 defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
96
2bb5745 Mathias Bynens Minor cleanup.
authored
97 # Display full POSIX path as Finder window title
df4eb65 Mathias Bynens Fix typo.
authored
98 defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
8422565 Michael Bianco Posix path in finder title, sheet speed, hidden application's icons are ...
iloveitaly authored
99
2bb5745 Mathias Bynens Minor cleanup.
authored
100 # Increase window resize speed for Cocoa applications
101 defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
8422565 Michael Bianco Posix path in finder title, sheet speed, hidden application's icons are ...
iloveitaly authored
102
18044c4 Mathias Bynens Avoid creating .DS_Store files on network volumes.
authored
103 # Avoid creating .DS_Store files on network volumes
104 defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
105
b6ff03a Mathias Bynens Disable the warning when changing a file extension.
authored
106 # Disable the warning when changing a file extension
107 defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
108
9bb2dce Mathias Bynens Show item info below desktop icons.
authored
109 # Show item info below desktop icons
ba9b8b8 Mathias Bynens Use full PlistBuddy path instead of the alias, so `.osx` can be used sta...
authored
110 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
9bb2dce Mathias Bynens Show item info below desktop icons.
authored
111
dda45e2 Mathias Bynens .osx: Enable snap-to-grid for desktop icons
authored
112 # Enable snap-to-grid for desktop icons
113 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
114
df46055 Mathias Bynens Disable the warning before emptying the Trash.
authored
115 # Disable the warning before emptying the Trash
116 defaults write com.apple.finder WarnOnEmptyTrash -bool false
117
51fba19 Mathias Bynens Empty Trash securely by default.
authored
118 # Empty Trash securely by default
119 defaults write com.apple.finder EmptyTrashSecurely -bool true
120
b8fbd68 Mathias Bynens Require password immediately after sleep or screen saver begins. (Can al...
authored
121 # Require password immediately after sleep or screen saver begins
122 defaults write com.apple.screensaver askForPassword -int 1
123 defaults write com.apple.screensaver askForPasswordDelay -int 0
124
50c583f Mathias Bynens Enable tap to click (Trackpad).
authored
125 # Enable tap to click (Trackpad)
126 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
127
1ab9402 Mathias Bynens Map bottom right Trackpad corner to secondary click (right-click).
authored
128 # Map bottom right Trackpad corner to right-click
129 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
c983fac Mathias Bynens Typo.
authored
130 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
1ab9402 Mathias Bynens Map bottom right Trackpad corner to secondary click (right-click).
authored
131
7d02270 Mathias Bynens Initial commit.
authored
132 # Disable Safari’s thumbnail cache for History and Top Sites
133 defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
134
558b2c4 Mathias Bynens Enable Safari’s debug menu.
authored
135 # Enable Safari’s debug menu
fc439ad Mathias Bynens Looks like `IncludeDebugMenu` was replaced by `IncludeInternalDebugMenu`...
authored
136 defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
558b2c4 Mathias Bynens Enable Safari’s debug menu.
authored
137
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
138 # Make Safari’s search banners default to Contains instead of Starts With
139 defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
140
7d02270 Mathias Bynens Initial commit.
authored
141 # Remove useless icons from Safari’s bookmarks bar
142 defaults write com.apple.Safari ProxiesInBookmarksBar "()"
143
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
144 # Add a context menu item for showing the Web Inspector in web views
145 defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
72860be Mathias Bynens .osx: Enable the debug menu in iCal and Address Book
authored
146
147 # Enable the debug menu in Address Book
148 defaults write com.apple.addressbook ABShowDebugMenu -bool true
149
150 # Enable the debug menu in iCal
151 defaults write com.apple.iCal IncludeDebugMenu -bool true
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
152
83adc55 Mathias Bynens Only use UTF-8 in Terminal.app.
authored
153 # Only use UTF-8 in Terminal.app
154 defaults write com.apple.terminal StringEncodings -array 4
155
17c5050 Mathias Bynens Disable the Ping sidebar in iTunes.
authored
156 # Disable the Ping sidebar in iTunes
157 defaults write com.apple.iTunes disablePingSidebar -bool true
158
36c4597 Mathias Bynens Disable Ping entirely.
authored
159 # Disable all the other Ping stuff in iTunes
160 defaults write com.apple.iTunes disablePing -bool true
161
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
162 # Make ⌘ + F focus the search input in iTunes
163 defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
164
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
165 # Disable send and reply animations in Mail.app
166 defaults write com.apple.Mail DisableReplyAnimations -bool true
167 defaults write com.apple.Mail DisableSendAnimations -bool true
7d02270 Mathias Bynens Initial commit.
authored
168
42f7f7b Mathias Bynens .osx: Copy email addresses as `foo@example.com` instead of `Foo Bar <foo...
authored
169 # Copy email addresses as `foo@example.com` instead of `Foo Bar <foo@example.com>` in Mail.app
170 defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
171
7346f4c Mathias Bynens Disable Resume system-wide.
authored
172 # Disable Resume system-wide
173 defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
7d02270 Mathias Bynens Initial commit.
authored
174
1de8cb8 Mathias Bynens .osx: Disable the “reopen windows when logging back in” option
authored
175 # Disable the “reopen windows when logging back in” option
176 # This works, although the checkbox will still appear to be checked.
177 defaults write com.apple.loginwindow TALLogoutSavesState -bool false
178 defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false
179
a407d5d Mathias Bynens Add some more goodies to .osx.
authored
180 # Enable Dashboard dev mode (allows keeping widgets on the desktop)
181 defaults write com.apple.dashboard devmode -bool true
5be688e Jean-Philippe Sirois Remove the disturbing ".dmg" Mounting Verification
jpsirois authored
182
7d02270 Mathias Bynens Initial commit.
authored
183 # Reset Launchpad
c60ad3b Mathias Bynens Only reset Launchpad when it’s actually available. Fixes #24.
authored
184 [ -e ~/Library/Application\ Support/Dock/*.db ] && rm ~/Library/Application\ Support/Dock/*.db
7d02270 Mathias Bynens Initial commit.
authored
185
186 # Show the ~/Library folder
187 chflags nohidden ~/Library
188
189 # Disable local Time Machine backups
439e6f5 Mathias Bynens Check if `tmutil` is available before using it. (It’s not available on S...
authored
190 hash tmutil &> /dev/null && sudo tmutil disablelocal
7d02270 Mathias Bynens Initial commit.
authored
191
4c0198f Mathias Bynens .osx: Tweak some more hidden preferences
authored
192 # Remove Dropbox’s green checkmark icons in Finder
59c2863 Mathias Bynens Remove the green checkmark icons in Dropbox.
authored
193 file=/Applications/Dropbox.app/Contents/Resources/check.icns
194 [ -e "$file" ] && mv -f "$file" "$file.bak"
195 unset file
196
eab8b0b Mathias Bynens Move disabled QuickLook fix to the bottom
authored
197 # Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
198 # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
199 #echo "0x08000100:0" > ~/.CFUserTextEncoding
200
20e4233 Mathias Bynens The fix for the UTF-8 bug in QuickLook causes problems when saving files...
authored
201 # Kill affected applications
49a471e Kit Cambridge `.osx`: Restart the `SystemUIServer` and suppress `kill` output.
kitcambridge authored
202 for app in Safari Finder Dock Mail SystemUIServer; do killall "$app" >/dev/null 2>&1; done
Something went wrong with that request. Please try again.