Advertisement
Guest User

Untitled

a guest
May 14th, 2012
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. ### Section 1 -
  2.  
  3.  
  4. ### Finder / Desktop:
  5.  
  6.  
  7. # Stop Disk Image verification
  8. defaults write com.apple.frameworks.diskimages skip-verify TRUE
  9.  
  10. # Display the bonjour network browser in Screen Sharing.app when launching it directly. Normally it would only prompt for an IP address, replace 1 with 0 to revert back:
  11. defaults write com.apple.ScreenSharing ShowBonjourBrowser_Debug 1
  12.  
  13. # Change delay when dragging windows off the current space to other spaces, default value is 0.75:
  14. defaults write com.apple.dock workspaces-edge-delay -float 1.0
  15.  
  16. # Tell all applications to use the expanded print menu by default, replace TRUE with FALSE to turn off:
  17. defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
  18.  
  19. # Disable Dashboard
  20. defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock
  21.  
  22. # Enable Time Machine Writes on Network Volumes:
  23. defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
  24.  
  25. # Stop asking for Time Machine usage on removable drives
  26. defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
  27.  
  28. # Disable Writing of .DS_Store files on Network Volumes:
  29. defaults write com.apple.comdesktopservices DSDontWriteNetworkStores true
  30.  
  31. # Show the path bar at the top of Finder windows
  32. defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
  33.  
  34. # Change default screenshot save location
  35. defaults write com.apple.screencapture location ~/Desktop; killall SystemUIServer
  36.  
  37. # Change default screenshot format to JPEG
  38. defaults write com.apple.screencapture type jpg
  39.  
  40. # Put double scroll arrows at both ends of scroll bar. Use Appearance pane in system preferences to reset.
  41. defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth; killall Finder
  42.  
  43. # Add a spacer to the dock, which can be moved around just like any other alias
  44. defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
  45.  
  46. # Disable Spaces workspace change animation
  47. defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock
  48. defaults delete com.apple.dock workspaces-swoosh-animation-off && killall Dock
  49.  
  50. # Quick Look X-Ray Hack (Shows files contained inside folder)
  51. defaults write com.apple.finder QLEnableXRayFolders 1; killall Finder
  52.  
  53. # Enable expanded save dialog
  54. defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
  55.  
  56. ### Dock / Menu Bar:
  57.  
  58.  
  59. # Change the menu bar to white and remove the transparency:
  60. sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer \ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1
  61.  
  62. # Remove 3D Dock
  63. defaults write com.apple.dock no-glass -boolean YES; killall Dock
  64.  
  65. # List View Looks Like Grid
  66. defaults write com.apple.dock use-new-list-stack -boolean yes; killall Dock
  67.  
  68. # Make the dock icon for hidden applications translucent.
  69. defaults write com.apple.Dock showhidden -bool YES; killall Dock
  70.  
  71.  
  72. ### Core OS X Applications:
  73.  
  74.  
  75. # Make all links in Safari open as separate tabs, not separate windows.
  76. defaults write com.apple.Safari TargetedClicksCreateTabs –bool TRUE
  77.  
  78. # Enable Safari web inspector
  79. defaults write com.apple.Safari WebKitDeveloperExtras -bool true
  80.  
  81. # Disable Data Detectors in Mail
  82. defaults write com.apple.mail DisableDataDetectors YES
  83.  
  84. # Enable Address Book Debug Mode
  85. defaults write com.apple.addressbook ABShowDebugMenu -bool YES
  86.  
  87.  
  88. ### iTunes:
  89.  
  90.  
  91. # Change iTunes toolbar buttons to pre-iTunes 10
  92. defaults write com.apple.iTunes full-window -1
  93.  
  94. # Change iTunes toolbar buttons to iTunes 10
  95. defaults write com.apple.iTunes full-window -0
  96.  
  97. # Disable iTunes Store arrow buttons within iTunes
  98. defaults write com.apple.iTunes show-store-arrow-links -bool FALSE
  99.  
  100. # Disable Ping Sidebar
  101. defaults write com.apple.iTunes disablePingSidebar 1
  102.  
  103. # Disable Ping Drop-down in iTunes Playlists
  104. defaults write com.apple.iTunes hide-ping-dropdown -bool TRUE
  105.  
  106.  
  107. ### Other:
  108.  
  109.  
  110. # Disable Adobe Update Manager
  111. defaults write com.adobe.AdobeUpdater.Admin Disable.Update -bool yes
  112.  
  113. # Enable Verbose Mode on boot
  114. sudo nvram boot-args="-v"
  115.  
  116. # Prevent the computer from waking up when you open the lid. You'll need to hit a key instead.
  117. sudo pmset lidwake 0
  118.  
  119.  
  120. ### Section 2 -
  121.  
  122.  
  123. ### Finder / Desktop:
  124.  
  125.  
  126. # Enable Single Application Mode
  127. defaults write com.apple.dock single-app -bool true; killall Dock
  128.  
  129. # Disable Single Application Mode
  130. defaults write com.apple.dock single-app -bool false; killall Dock
  131.  
  132. # Enable Dashboard
  133. defaults write com.apple.dashboard mcx-disabled -boolean NO; killall Dock
  134.  
  135. # Change Login Background
  136. defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture [path]
  137.  
  138.  
  139. ### Dock / Menu Bar:
  140.  
  141.  
  142. # Restore 3D Dock
  143. defaults write com.apple.dock no-glass -boolean NO; killall Dock
  144.  
  145. # Add a 'recent things' stack to the Dock
  146. defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock
  147.  
  148. # Change the menubar to the default translucent state:
  149. sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer \ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0
  150.  
  151.  
  152. ### Core OS X Applications:
  153.  
  154.  
  155. # Force Mail to display all messages as plain text.
  156. defaults write com.apple.mail PreferPlainText –bool TRUE
  157.  
  158. # Auto-accept Video Chat invitations:
  159. defaults write com.apple.ichat AutoAcceptVCInvitations 1
  160.  
  161.  
  162. ### iTunes:
  163.  
  164.  
  165. # Enable automatic play during import in iTunes
  166. defaults write com.apple.iTunes play-songs-while-importing -bool TRUE
  167.  
  168.  
  169. ### Other:
  170.  
  171.  
  172. # Create a soft link named 'Applications' in the present working directory that points to /Applications
  173. ln -s /Applications Applications
  174.  
  175. # Disable Verbose Mode on boot
  176. sudo nvram boot-args=
  177.  
  178. # Restart the OSX setup assistant
  179. rm /var/db/.AppleSetupDone
  180.  
  181. # Display OSX Serial Number (first need to 'su' as root)
  182. more /etc/systemserialnumbers/xsvr
  183.  
  184.  
  185. ### Miscellaneous Commands:
  186.  
  187.  
  188. # Securely erases data on the free space of a Mac hard drive
  189. diskutil secureErase freespace 3 /Volumes/name-of-drive
  190.  
  191. # Convert .docx files to .doc
  192. textutil -convert doc /path/to/filename.docx
  193.  
  194. # Set .profile aliases (vi ~.profile)
  195. alias 'lsd=ls -latr'
  196. alias 'lsh=ls -laptoq'
  197.  
  198. # Opera installations compliments of CS3:
  199. /Applications/Adobe Bridge CS3/Bridge CS3.app/Contents/MacOS/Opera.app
  200. /Applications/Adobe Device Central CS3/Device Central.app/Contents/MacOS/Required/Opera.app
  201.  
  202. ****************************************************
  203.  
  204. # Fake the Leopard installer Disc to load on a <867 Mhz G4
  205. 1. Reboot your Mac and hold down the Cmd-Opt-O-F to enter Open Firmware.
  206.  
  207. 2. For single CPUs, use the following three lines:
  208. dev /cpus/PowerPC,G4@0
  209. d# 867000000 encode-int " clock-frequency" property
  210. boot cd:,\\:tbxi
  211.  
  212. 3. For dual CPUs, use the following five lines:
  213. dev /cpus/PowerPC,G4@0
  214. d# 867000000 encode-int " clock-frequency" property
  215. dev /cpus/PowerPC,G4@1
  216. d# 867000000 encode-int " clock-frequency" property
  217. boot cd:,\\:tbxi
  218.  
  219. ****************************************************
  220.  
  221. # OpenDNS Servers
  222. 208.67.222.222
  223. 208.67.220.220
  224.  
  225. # Google DNS Servers
  226. 8.8.8.8
  227. 8.8.4.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement