Skip to content
This repository
Newer
Older
100755 392 lines (284 sloc) 18.797 kb
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
1 # ~/.osx — http://mths.be/osx
2
3 ###############################################################################
4 # General UI/UX #
5 ###############################################################################
6
fc196655 »
2012-07-27 .osx: Set computer name
7 # Set computer name (as done via System Preferences → Sharing)
8 scutil --set ComputerName "MathBook Pro"
9 scutil --set HostName "MathBook Pro"
10 scutil --set LocalHostName "MathBook-Pro"
11
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
12 # Menu bar: disable transparency
f1506922 »
2011-09-20 Use `NSGlobalDomain` instead of `-g`.
13 defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
7d022705 »
2011-09-05 Initial commit.
14
fc196655 »
2012-07-27 .osx: Set computer name
15 # Menu bar: show remaining battery time (on pre-10.8); hide percentage
91918d76 »
2011-09-23 Show remaining battery time; hide percentage.
16 defaults write com.apple.menuextra.battery ShowPercent -string "NO"
17 defaults write com.apple.menuextra.battery ShowTime -string "YES"
18
4e31acd0 »
2012-07-26 .osx: Hide the useless Time Machine and Volume icons
19 # Menu bar: hide the useless Time Machine and Volume icons
20 defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Bluetooth.menu" "/System/Library/CoreServices/Menu Extras/AirPort.menu" "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"
21
45806ef8 »
2011-09-20 Always show scrollbars.
22 # Always show scrollbars
23 defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
24
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
25 # Disable opening and closing window animations
26 defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
27
28 # Increase window resize speed for Cocoa applications
29 defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
30
7d022705 »
2011-09-05 Initial commit.
31 # Expand save panel by default
f1506922 »
2011-09-20 Use `NSGlobalDomain` instead of `-g`.
32 defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
7d022705 »
2011-09-05 Initial commit.
33
34 # Expand print panel by default
f1506922 »
2011-09-20 Use `NSGlobalDomain` instead of `-g`.
35 defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
7d022705 »
2011-09-05 Initial commit.
36
cdbb059f »
2011-09-20 Disable the “Are you sure you want to open this application?” dialog.
37 # Disable the “Are you sure you want to open this application?” dialog
38 defaults write com.apple.LaunchServices LSQuarantine -bool false
39
61163c8a »
2012-04-10 .osx: Group commands by type
40 # Display ASCII control characters using caret notation in standard text views
41 # Try e.g. `cd /tmp; unidecode "\x{0000}" > cc.txt; open -e cc.txt`
42 defaults write NSGlobalDomain NSTextShowsControlCharacters -bool true
7d022705 »
2011-09-05 Initial commit.
43
61163c8a »
2012-04-10 .osx: Group commands by type
44 # Disable Resume system-wide
45 defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
6b3819f1 »
2011-09-20 Show indicator lights for open applications in the Dock, and don’t an…
46
5b4e9d13 »
2012-06-27 .osx: Disable automatic termination of inactive apps
47 # Disable automatic termination of inactive apps
48 defaults write NSGlobalDomain NSDisableAutomaticTermination -bool true
49
61163c8a »
2012-04-10 .osx: Group commands by type
50 # Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
51 # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
52 #echo "0x08000100:0" > ~/.CFUserTextEncoding
7134df85 »
2012-04-02 .osx: Remove the auto-hiding Dock delay
53
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
54 ###############################################################################
95ed1a16 »
2012-07-18 .osx: Increase sound quality for Bluetooth headphones/headsets
55 # Trackpad, mouse, keyboard, Bluetooth accessories, and input #
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
56 ###############################################################################
61163c8a »
2012-04-10 .osx: Group commands by type
57
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
58 # Trackpad: enable tap to click for this user and for the login screen
59 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
60 defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
61 defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1
62
63 # Trackpad: map bottom right corner to right-click
64 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadCornerSecondaryClick -int 2
65 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadRightClick -bool true
66 defaults -currentHost write NSGlobalDomain com.apple.trackpad.trackpadCornerClickBehavior -int 1
67 defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryClick -bool true
68
69 # Trackpad: swipe between pages with three fingers
f0ac6582 »
2012-06-28 .osx: Explicitly enable swipe between pages
70 defaults write NSGlobalDomain AppleEnableSwipeNavigateWithScrolls -bool true
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
71 defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
72 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1
73
6a424194 »
2012-06-27 .osx: Minor formatting tweak
74 # Disable “natural” (Lion-style) scrolling
75 defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
76
95ed1a16 »
2012-07-18 .osx: Increase sound quality for Bluetooth headphones/headsets
77 # Increase sound quality for Bluetooth headphones/headsets
78 defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int 40
79
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
80 # Enable full keyboard access for all controls
81 # (e.g. enable Tab in modal dialogs)
82 defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
83
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
84 # Disable press-and-hold for keys in favor of key repeat
f1506922 »
2011-09-20 Use `NSGlobalDomain` instead of `-g`.
85 defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
86
7c463423 »
2011-09-23 Set a blazingly fast keyboard repeat rate.
87 # Set a blazingly fast keyboard repeat rate
88 defaults write NSGlobalDomain KeyRepeat -int 0
89
24045d9f »
2012-06-26 .osx: Set language and text formats
90 # Set language and text formats
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
91 # Note: if you’re in the US, replace `EUR` with `USD`, `Centimeters` with
92 # `Inches`, and `true` with `false`.
24045d9f »
2012-06-26 .osx: Set language and text formats
93 defaults write NSGlobalDomain AppleLanguages -array "en" "nl"
94 defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=EUR"
95 defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters"
96 defaults write NSGlobalDomain AppleMetricUnits -bool true
97
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
98 # Disable auto-correct
99 defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
100
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
101 ###############################################################################
102 # Screen #
103 ###############################################################################
29ae35c5 »
2012-06-27 .osx: Enable swipe between pages with three fingers
104
61163c8a »
2012-04-10 .osx: Group commands by type
105 # Require password immediately after sleep or screen saver begins
106 defaults write com.apple.screensaver askForPassword -int 1
107 defaults write com.apple.screensaver askForPasswordDelay -int 0
108
7baa45cc »
2012-04-30 .osx: Clean up after commit 5b36bee
109 # Save screenshots to the desktop
110 defaults write com.apple.screencapture location -string "$HOME/Desktop"
111
112 # Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
113 defaults write com.apple.screencapture type -string "png"
114
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
115 # Disable shadow in screenshots
116 defaults write com.apple.screencapture disable-shadow -bool true
117
118 # Enable subpixel font rendering on non-Apple LCDs
119 defaults write NSGlobalDomain AppleFontSmoothing -int 2
120
121 ###############################################################################
122 # Finder #
123 ###############################################################################
124
125 # Finder: allow quitting via ⌘ + Q; doing so will also hide desktop icons
61163c8a »
2012-04-10 .osx: Group commands by type
126 defaults write com.apple.finder QuitMenuItem -bool true
127
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
128 # Finder: disable window animations and Get Info animations
61163c8a »
2012-04-10 .osx: Group commands by type
129 defaults write com.apple.finder DisableAllAnimations -bool true
130
e4d22ec5 »
2012-07-26 .osx: Show icons for hard drives, servers, and removable media on the…
131 # Show icons for hard drives, servers, and removable media on the desktop
132 defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
133 defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
134 defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
135 defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
136
c53f2223 »
2012-07-12 .osx: Show hidden files by default in Finder
137 # Finder: show hidden files by default
138 defaults write com.apple.Finder AppleShowAllFiles -bool true
139
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
140 # Finder: show all filename extensions
61163c8a »
2012-04-10 .osx: Group commands by type
141 defaults write NSGlobalDomain AppleShowAllExtensions -bool true
142
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
143 # Finder: show status bar
61163c8a »
2012-04-10 .osx: Group commands by type
144 defaults write com.apple.finder ShowStatusBar -bool true
145
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
146 # Finder: allow text selection in Quick Look
61163c8a »
2012-04-10 .osx: Group commands by type
147 defaults write com.apple.finder QLEnableTextSelection -bool true
2433b1bb »
2011-09-20 Enable AirDrop over Ethernet and on unsupported Macs running OS X Lion.
148
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
149 # Display full POSIX path as Finder window title
150 defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
151
152 # Disable the warning when changing a file extension
153 defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
154
155 # Avoid creating .DS_Store files on network volumes
156 defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
157
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
158 # Disable disk image verification
159 defaults write com.apple.frameworks.diskimages skip-verify -bool true
160 defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
161 defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
162
163 # Automatically open a new Finder window when a volume is mounted
164 defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
165 defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
166 defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
167
a168e937 »
2012-07-26 .osx: Add more Finder settings for icons on the desktop and in icon v…
168 # Show item info below icons on the desktop and in other icon views
ba9b8b8a »
2011-09-24 Use full PlistBuddy path instead of the alias, so `.osx` can be used …
169 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
a168e937 »
2012-07-26 .osx: Add more Finder settings for icons on the desktop and in icon v…
170 /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
171 /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:showItemInfo true" ~/Library/Preferences/com.apple.finder.plist
9bb2dcef »
2011-09-24 Show item info below desktop icons.
172
a168e937 »
2012-07-26 .osx: Add more Finder settings for icons on the desktop and in icon v…
173 # Enable snap-to-grid for icons on the desktop and in other icon views
dda45e2c »
2012-02-22 .osx: Enable snap-to-grid for desktop icons
174 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
a168e937 »
2012-07-26 .osx: Add more Finder settings for icons on the desktop and in icon v…
175 /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
176 /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist
177
178 # Increase grid spacing for icons on the desktop and in other icon views
179 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist
180 /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist
181 /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:gridSpacing 100" ~/Library/Preferences/com.apple.finder.plist
182
183 # Increase the size of icons on the desktop and in other icon views
184 /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:iconSize 80" ~/Library/Preferences/com.apple.finder.plist
185 /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:iconSize 80" ~/Library/Preferences/com.apple.finder.plist
186 /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:iconSize 80" ~/Library/Preferences/com.apple.finder.plist
dda45e2c »
2012-02-22 .osx: Enable snap-to-grid for desktop icons
187
df460553 »
2011-09-23 Disable the warning before emptying the Trash.
188 # Disable the warning before emptying the Trash
189 defaults write com.apple.finder WarnOnEmptyTrash -bool false
190
51fba19b »
2011-09-23 Empty Trash securely by default.
191 # Empty Trash securely by default
192 defaults write com.apple.finder EmptyTrashSecurely -bool true
193
61163c8a »
2012-04-10 .osx: Group commands by type
194 # Enable AirDrop over Ethernet and on unsupported Macs running Lion
195 defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true
b8fbd682 »
2011-09-21 Require password immediately after sleep or screen saver begins. (Can…
196
61163c8a »
2012-04-10 .osx: Group commands by type
197 # Show the ~/Library folder
198 chflags nohidden ~/Library
50c583f8 »
2011-09-23 Enable tap to click (Trackpad).
199
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
200 # Remove Dropbox’s green checkmark icons in Finder
201 file=/Applications/Dropbox.app/Contents/Resources/check.icns
202 [ -e "$file" ] && mv -f "$file" "$file.bak"
203 unset file
204
205 ###############################################################################
206 # Dock & hot corners #
207 ###############################################################################
6e45face »
2012-04-10 .osx: Add hot corners
208
61163c8a »
2012-04-10 .osx: Group commands by type
209 # Enable highlight hover effect for the grid view of a stack (Dock)
210 defaults write com.apple.dock mouse-over-hilte-stack -bool true
211
9898899c »
2012-04-30 .osx: Set the icon size of Dock items to 36 pixels
212 # Set the icon size of Dock items to 36 pixels
213 defaults write com.apple.dock tilesize -int 36
c8e40aa9 » Cedric Kastner
2012-04-26 Icon size of 48 pixels for dock items
214
61163c8a »
2012-04-10 .osx: Group commands by type
215 # Enable spring loading for all Dock items
216 defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true
217
218 # Show indicator lights for open applications in the Dock
219 defaults write com.apple.dock show-process-indicators -bool true
220
221 # Don’t animate opening applications from the Dock
222 defaults write com.apple.dock launchanim -bool false
223
22ecf0a3 »
2012-06-27 .osx: Speed up Mission Control animations
224 # Speed up Mission Control animations
225 defaults write com.apple.dock expose-animation-duration -float 0.1
226
66911ae4 »
2012-07-27 .osx: Group windows by application in Mission Control
227 # Group windows by application in Mission Control
228 defaults write com.apple.dock "expose-group-by-app" -bool true
229
205b8b14 »
2012-07-27 .osx: Don’t show Dashboard as a Space
230 # Don’t show Dashboard as a Space
231 defaults write com.apple.dock "dashboard-in-overlay" -bool true
232
61163c8a »
2012-04-10 .osx: Group commands by type
233 # Remove the auto-hiding Dock delay
234 defaults write com.apple.Dock autohide-delay -float 0
4623943f »
2012-04-10 .osx: Cleanup
235 # Remove the animation when hiding/showing the Dock
236 defaults write com.apple.dock autohide-time-modifier -float 0
f60e3e64 » fruityth1ng
2012-04-10 # Shorten Dock show animation speed
237
61163c8a »
2012-04-10 .osx: Group commands by type
238 # Enable the 2D Dock
2d0737e9 »
2012-07-26 .osx: Comment out the line that enables the 2D Dock
239 #defaults write com.apple.dock no-glass -bool true
61163c8a »
2012-04-10 .osx: Group commands by type
240
241 # Automatically hide and show the Dock
242 defaults write com.apple.dock autohide -bool true
243
244 # Make Dock icons of hidden applications translucent
245 defaults write com.apple.dock showhidden -bool true
246
247 # Enable iTunes track notifications in the Dock
248 defaults write com.apple.dock itunes-notifications -bool true
249
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
250 # Reset Launchpad
251 find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete
252
61163c8a »
2012-04-10 .osx: Group commands by type
253 # Add a spacer to the left side of the Dock (where the applications are)
254 #defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
255 # Add a spacer to the right side of the Dock (where the Trash is)
256 #defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'
257
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
258 # Hot corners
259 # Top left screen corner → Mission Control
260 defaults write com.apple.dock wvous-tl-corner -int 2
261 defaults write com.apple.dock wvous-tl-modifier -int 0
262 # Top right screen corner → Desktop
263 defaults write com.apple.dock wvous-tr-corner -int 4
264 defaults write com.apple.dock wvous-tr-modifier -int 0
265 # Bottom left screen corner → Start screen saver
266 defaults write com.apple.dock wvous-bl-corner -int 5
267 defaults write com.apple.dock wvous-bl-modifier -int 0
268
269 ###############################################################################
270 # Safari & WebKit #
271 ###############################################################################
1ab9402e »
2011-09-21 Map bottom right Trackpad corner to secondary click (right-click).
272
390d0fd6 »
2012-07-27 .osx: Hide Safari’s bookmarks bar by default
273 # Hide Safari’s bookmarks bar by default
274 defaults write com.apple.Safari ShowFavoritesBar -bool false
275
7d022705 »
2011-09-05 Initial commit.
276 # Disable Safari’s thumbnail cache for History and Top Sites
277 defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2
278
558b2c46 »
2011-09-08 Enable Safari’s debug menu.
279 # Enable Safari’s debug menu
fc439ad5 »
2011-10-19 Looks like `IncludeDebugMenu` was replaced by `IncludeInternalDebugMe…
280 defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
558b2c46 »
2011-09-08 Enable Safari’s debug menu.
281
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
282 # Make Safari’s search banners default to Contains instead of Starts With
283 defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
284
7d022705 »
2011-09-05 Initial commit.
285 # Remove useless icons from Safari’s bookmarks bar
286 defaults write com.apple.Safari ProxiesInBookmarksBar "()"
287
93bb0392 »
2012-07-28 .osx: Enable the Develop Menu and the Web Inspector in Safari
288 # Enable the Develop menu and the Web Inspector in Safari
289 defaults write com.apple.Safari IncludeDevelopMenu -bool true
290 defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
291 defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
292
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
293 # Add a context menu item for showing the Web Inspector in web views
294 defaults write NSGlobalDomain WebKitDeveloperExtras -bool true
72860bec »
2012-04-03 .osx: Enable the debug menu in iCal and Address Book
295
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
296 ###############################################################################
45676def »
2012-06-27 .osx: Enable the debug menu in Disk Utility
297 # Address Book, Dashboard, iCal, iTunes, Mail, and Disk Utility #
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
298 ###############################################################################
299
72860bec »
2012-04-03 .osx: Enable the debug menu in iCal and Address Book
300 # Enable the debug menu in Address Book
301 defaults write com.apple.addressbook ABShowDebugMenu -bool true
302
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
303 # Enable Dashboard dev mode (allows keeping widgets on the desktop)
304 defaults write com.apple.dashboard devmode -bool true
305
72860bec »
2012-04-03 .osx: Enable the debug menu in iCal and Address Book
306 # Enable the debug menu in iCal
307 defaults write com.apple.iCal IncludeDebugMenu -bool true
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
308
289c3ea4 »
2012-07-02 .osx: Disable the iTunes arrow links completely
309 # Make the iTunes arrow links go to your library instead of the iTunes Store
310 defaults write com.apple.iTunes invertStoreLinks -bool true
311
312 # Disable the iTunes arrow links completely
313 defaults write com.apple.iTunes show-store-arrow-links -bool false
6c2be0e0 » kevinlawler
2012-07-01 .osx: Make iTunes arrows go to your library by default (rather than t…
314
17c5050f »
2011-09-24 Disable the Ping sidebar in iTunes.
315 # Disable the Ping sidebar in iTunes
316 defaults write com.apple.iTunes disablePingSidebar -bool true
317
36c45978 »
2011-09-24 Disable Ping entirely.
318 # Disable all the other Ping stuff in iTunes
319 defaults write com.apple.iTunes disablePing -bool true
320
4c0198f0 »
2012-02-24 .osx: Tweak some more hidden preferences
321 # Make ⌘ + F focus the search input in iTunes
322 defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add "Target Search Field" "@F"
323
a407d5d3 »
2011-09-07 Add some more goodies to .osx.
324 # Disable send and reply animations in Mail.app
325 defaults write com.apple.Mail DisableReplyAnimations -bool true
326 defaults write com.apple.Mail DisableSendAnimations -bool true
7d022705 »
2011-09-05 Initial commit.
327
42f7f7be »
2012-03-31 .osx: Copy email addresses as `foo@example.com` instead of `Foo Bar <…
328 # Copy email addresses as `foo@example.com` instead of `Foo Bar <foo@example.com>` in Mail.app
329 defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false
330
45676def »
2012-06-27 .osx: Enable the debug menu in Disk Utility
331 # Enable the debug menu in Disk Utility
332 defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
333
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
334 ###############################################################################
335 # Terminal #
336 ###############################################################################
5be688e0 » jpsirois
2011-09-06 Remove the disturbing ".dmg" Mounting Verification
337
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
338 # Only use UTF-8 in Terminal.app
339 defaults write com.apple.terminal StringEncodings -array 4
340
772506ca »
2012-07-27 .osx: Use the Pro theme by default in Terminal.app
341 # Use the Pro theme by default in Terminal.app
342 defaults write com.apple.Terminal "Default Window Settings" -string "Pro"
343 defaults write com.apple.Terminal "Startup Window Settings" -string "Pro"
344
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
345 # Enable “focus follows mouse” for Terminal.app and all X11 apps
346 # This means you can hover over a window and start typing in it without clicking first
347 #defaults write com.apple.terminal FocusFollowsMouse -bool true
348 #defaults write org.x.X11 wm_ffm -bool true
349
350 ###############################################################################
351 # Time Machine #
352 ###############################################################################
7d022705 »
2011-09-05 Initial commit.
353
997cb325 »
2012-04-12 .osx: Prevent Time Machine from prompting to use new hard drives as b…
354 # Prevent Time Machine from prompting to use new hard drives as backup volume
355 defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
356
7d022705 »
2011-09-05 Initial commit.
357 # Disable local Time Machine backups
439e6f5a »
2011-09-24 Check if `tmutil` is available before using it. (It’s not available o…
358 hash tmutil &> /dev/null && sudo tmutil disablelocal
7d022705 »
2011-09-05 Initial commit.
359
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
360 ###############################################################################
050b7ca6 »
2012-07-26 .osx: Add Twitter.app settings
361 # Twitter.app #
362 ###############################################################################
363
364 # Disable smart quotes as it’s annoying for code tweets
365 defaults write com.twitter.twitter-mac AutomaticQuoteSubstitutionEnabled -bool false
366
367 # Show the app window when clicking the menu icon
368 defaults write com.twitter.twitter-mac MenuItemBehavior -int 1
369
370 # Enable the hidden ‘Develop’ menu
371 defaults write com.twitter.twitter-mac ShowDevelopMenu -bool true
372
373 # Open links in the background
374 defaults write com.twitter.twitter-mac openLinksInBackground -bool true
375
376 # Allow closing the ‘new tweet’ window by pressing `Esc`
377 defaults write com.twitter.twitter-mac ESCClosesComposeWindow -bool true
378
379 # Show full names rather than Twitter handles
380 defaults write com.twitter.twitter-mac ShowFullNames -bool true
381
382 # Hide the app in the background if it’s not the front-most window
383 defaults write com.twitter.twitter-mac HideInBackground -bool true
384
385 ###############################################################################
44ab4cf3 »
2012-06-27 .osx: Group commands in categories
386 # Kill affected applications #
387 ###############################################################################
59c28630 »
2011-10-22 Remove the green checkmark icons in Dropbox.
388
050b7ca6 »
2012-07-26 .osx: Add Twitter.app settings
389 for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer Twitter; do
6a424194 »
2012-06-27 .osx: Minor formatting tweak
390 killall "$app" > /dev/null 2>&1
391 done
7baa45cc »
2012-04-30 .osx: Clean up after commit 5b36bee
392 echo "Done. Note that some of these changes require a logout/restart to take effect."
Something went wrong with that request. Please try again.