Mac prefs
(
see Googledocs milivko
https://docs.google.com/document/d/1cVJwZDUqaQqAEpivoyFHa9E-7TzmYJ18hsntgveYCew/edit
)
Set hostname:
(tested with 10.9)
scutil --get ComputerName
sudo scutil --set ComputerName newname
scutil --get HostName
sudo scutil --set HostName newname.example.lan
# what is LocalHostName ?
scutil --set LocalHostName newname
Make the arrows next to artist & album jump to local iTunes library folders instead of Ping/Store
Hide the ping (social networking) dropdown
Hide the iTunes Genre list
defaults write com.apple.iTunes show-store-link-arrows -bool YES
defaults write com.apple.iTunes invertStoreLinks -bool YES
defaults write com.apple.iTunes hide-ping-dropdown 1
defaults write com.apple.iTunes show-genre-when-browsing -bool FALSE
defaults write com.apple.iTunes disableGeniusSidebar -boolean YES
# Disable Writing of .DS_Store files on Network Volumes:
defaults write com.apple.comdesktopservices DSDontWriteNetworkStores true
# defaults write com.apple.desktopservices DSDontWriteNetworkStores true
# Show the path bar at the top of Finder windows
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
# Show full path to current directory in Finder title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
# Enable Safari web inspector
defaults write com.apple.Safari WebKitDeveloperExtras -bool true
Add Application to OSX Dock (example uses Calculator.app)
defaults write com.apple.dock persistent-apps -array-add "< dict><key>tile-data</key><dict><key> file-data</key><dict><key>_CFURLString </key><string>/Applications/Calculator.app/</string><key>_CFURLStringType</key><integer>0 </integer></dict></dict></dict>";
# Disable Time Machine External Disk as Backup Prompt
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES
Mouse:
http://hints.macworld.com/article.php?story=20070103082828118
http://www.digitalrebellion.com/blog/posts/how_to_banish_the_final_cut_pro_registration_screen_forever.html
http://bahut.alma.ch/2011/05/kill-final-cut-registration-screen.html
Reveal IP address, hostname, OS version, etc. when clicking the clock in the login window
defaults write
/Library/Preferences/com.apple.loginwindow AdminHostInfo HostName
Disable “natural” (Lion-style) scrolling
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false
Save screenshots to the desktop
defaults write com.apple.screencapture location -string “$HOME/Desktop”
Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
defaults write com.apple.screencapture type -string “png”
Show icons for hard drives, servers, and removable media on the desktop
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowMountedServersOnDesktop -bool true
defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true
Finder: show all filename extensions
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
Finder: show status bar
defaults write com.apple.finder ShowStatusBar -bool true
Display full POSIX path as Finder window title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
When performing a search, search the current folder by default
defaults write com.apple.finder FXDefaultSearchScope -string “SCcf”
Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
Disable the iTunes store link arrows
defaults write com.apple.iTunes show-store-link-arrows -bool false
Disable the Genius sidebar in iTunes
defaults write com.apple.iTunes disableGeniusSidebar -bool true
Disable the Ping sidebar in iTunes
defaults write com.apple.iTunes disablePingSidebar -bool true
Disable all the other Ping stuff in iTunes
defaults write com.apple.iTunes disablePing -bool true
Disable radio stations in iTunes
defaults write com.apple.iTunes disableRadio -bool true
Prevent Time Machine from prompting to use new hard drives as backup volume
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true
Use plain text mode for new TextEdit documents
defaults write com.apple.TextEdit RichText -int 0
Open and save files as UTF–8 in TextEdit
defaults write com.apple.TextEdit PlainTextEncoding -int 4
defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4
Enable the debug menu in Disk Utility
defaults write com.apple.DiskUtility DUDebugMenuEnabled -bool true
defaults write com.apple.DiskUtility advanced-image-options -bool true
Address : <
http://www.learningosx.com/101-ways-to-tweak-os-x-using-terminal/>
https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Enable SSH Remote Login
/usr/sbin/systemsetup -setremotelogin on
http://www.addictivetips.com/mac-os/disable-the-dashboard-notification-center-in-mac-os-x/
"How To Disable the Dashboard & Notification Center in Mac OS X"