Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### Section 1 -
- ### Finder / Desktop:
- # Stop Disk Image verification
- defaults write com.apple.frameworks.diskimages skip-verify TRUE
- # 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:
- defaults write com.apple.ScreenSharing ShowBonjourBrowser_Debug 1
- # Change delay when dragging windows off the current space to other spaces, default value is 0.75:
- defaults write com.apple.dock workspaces-edge-delay -float 1.0
- # Tell all applications to use the expanded print menu by default, replace TRUE with FALSE to turn off:
- defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
- # Disable Dashboard
- defaults write com.apple.dashboard mcx-disabled -boolean YES; killall Dock
- # Enable Time Machine Writes on Network Volumes:
- defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
- # Stop asking for Time Machine usage on removable drives
- defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
- # Disable Writing of .DS_Store files on Network Volumes:
- defaults write com.apple.comdesktopservices DSDontWriteNetworkStores true
- # Show the path bar at the top of Finder windows
- defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
- # Change default screenshot save location
- defaults write com.apple.screencapture location ~/Desktop; killall SystemUIServer
- # Change default screenshot format to JPEG
- defaults write com.apple.screencapture type jpg
- # Put double scroll arrows at both ends of scroll bar. Use Appearance pane in system preferences to reset.
- defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth; killall Finder
- # Add a spacer to the dock, which can be moved around just like any other alias
- defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'; killall Dock
- # Disable Spaces workspace change animation
- defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock
- defaults delete com.apple.dock workspaces-swoosh-animation-off && killall Dock
- # Quick Look X-Ray Hack (Shows files contained inside folder)
- defaults write com.apple.finder QLEnableXRayFolders 1; killall Finder
- # Enable expanded save dialog
- defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE
- ### Dock / Menu Bar:
- # Change the menu bar to white and remove the transparency:
- sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer \ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1
- # Remove 3D Dock
- defaults write com.apple.dock no-glass -boolean YES; killall Dock
- # List View Looks Like Grid
- defaults write com.apple.dock use-new-list-stack -boolean yes; killall Dock
- # Make the dock icon for hidden applications translucent.
- defaults write com.apple.Dock showhidden -bool YES; killall Dock
- ### Core OS X Applications:
- # Make all links in Safari open as separate tabs, not separate windows.
- defaults write com.apple.Safari TargetedClicksCreateTabs –bool TRUE
- # Enable Safari web inspector
- defaults write com.apple.Safari WebKitDeveloperExtras -bool true
- # Disable Data Detectors in Mail
- defaults write com.apple.mail DisableDataDetectors YES
- # Enable Address Book Debug Mode
- defaults write com.apple.addressbook ABShowDebugMenu -bool YES
- ### iTunes:
- # Change iTunes toolbar buttons to pre-iTunes 10
- defaults write com.apple.iTunes full-window -1
- # Change iTunes toolbar buttons to iTunes 10
- defaults write com.apple.iTunes full-window -0
- # Disable iTunes Store arrow buttons within iTunes
- defaults write com.apple.iTunes show-store-arrow-links -bool FALSE
- # Disable Ping Sidebar
- defaults write com.apple.iTunes disablePingSidebar 1
- # Disable Ping Drop-down in iTunes Playlists
- defaults write com.apple.iTunes hide-ping-dropdown -bool TRUE
- ### Other:
- # Disable Adobe Update Manager
- defaults write com.adobe.AdobeUpdater.Admin Disable.Update -bool yes
- # Enable Verbose Mode on boot
- sudo nvram boot-args="-v"
- # Prevent the computer from waking up when you open the lid. You'll need to hit a key instead.
- sudo pmset lidwake 0
- ### Section 2 -
- ### Finder / Desktop:
- # Enable Single Application Mode
- defaults write com.apple.dock single-app -bool true; killall Dock
- # Disable Single Application Mode
- defaults write com.apple.dock single-app -bool false; killall Dock
- # Enable Dashboard
- defaults write com.apple.dashboard mcx-disabled -boolean NO; killall Dock
- # Change Login Background
- defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture [path]
- ### Dock / Menu Bar:
- # Restore 3D Dock
- defaults write com.apple.dock no-glass -boolean NO; killall Dock
- # Add a 'recent things' stack to the Dock
- defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'; killall Dock
- # Change the menubar to the default translucent state:
- sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer \ 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0
- ### Core OS X Applications:
- # Force Mail to display all messages as plain text.
- defaults write com.apple.mail PreferPlainText –bool TRUE
- # Auto-accept Video Chat invitations:
- defaults write com.apple.ichat AutoAcceptVCInvitations 1
- ### iTunes:
- # Enable automatic play during import in iTunes
- defaults write com.apple.iTunes play-songs-while-importing -bool TRUE
- ### Other:
- # Create a soft link named 'Applications' in the present working directory that points to /Applications
- ln -s /Applications Applications
- # Disable Verbose Mode on boot
- sudo nvram boot-args=
- # Restart the OSX setup assistant
- rm /var/db/.AppleSetupDone
- # Display OSX Serial Number (first need to 'su' as root)
- more /etc/systemserialnumbers/xsvr
- ### Miscellaneous Commands:
- # Securely erases data on the free space of a Mac hard drive
- diskutil secureErase freespace 3 /Volumes/name-of-drive
- # Convert .docx files to .doc
- textutil -convert doc /path/to/filename.docx
- # Set .profile aliases (vi ~.profile)
- alias 'lsd=ls -latr'
- alias 'lsh=ls -laptoq'
- # Opera installations compliments of CS3:
- /Applications/Adobe Bridge CS3/Bridge CS3.app/Contents/MacOS/Opera.app
- /Applications/Adobe Device Central CS3/Device Central.app/Contents/MacOS/Required/Opera.app
- ****************************************************
- # Fake the Leopard installer Disc to load on a <867 Mhz G4
- 1. Reboot your Mac and hold down the Cmd-Opt-O-F to enter Open Firmware.
- 2. For single CPUs, use the following three lines:
- dev /cpus/PowerPC,G4@0
- d# 867000000 encode-int " clock-frequency" property
- boot cd:,\\:tbxi
- 3. For dual CPUs, use the following five lines:
- dev /cpus/PowerPC,G4@0
- d# 867000000 encode-int " clock-frequency" property
- dev /cpus/PowerPC,G4@1
- d# 867000000 encode-int " clock-frequency" property
- boot cd:,\\:tbxi
- ****************************************************
- # OpenDNS Servers
- 208.67.222.222
- 208.67.220.220
- # Google DNS Servers
- 8.8.8.8
- 8.8.4.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement