MacOSX Lion: un po’ di customizzazione

OSX offre alcune opzioni “nascoste” che sono modificabili tramite linea di comando (aprite Terminal.app). Ne ho già condivisa qualcuna, ma dopo aver letto “Mac Kung Fu” e ispirandomi ad un gist, ho deciso di condividere tutte le customizzazioni di OSX che uso (dove non presente ho deciso di introdurre un commento in inglese, sulla falsariga di quanto già fatto nel gist):

echo “Enable iTunes track notifications in the Dock”
defaults write com.apple.dock itunes-notifications -bool true
echo “Disable iTunes Store links in iTunes”
defaults write com.apple.iTunes invertStoreLinks -bool YES
echo “Disable the Ping sidebar in iTunes”
defaults write com.apple.iTunes disablePingSidebar -bool true
echo “Disable all the other Ping stuff in iTunes”
defaults write com.apple.iTunes disablePing -bool true
echo “Make ⌘ + F focus the search input in iTunes”
defaults write com.apple.iTunes NSUserKeyEquivalents -dict-add “Target Search Field” “@F”

echo “Disable the “reopen windows when logging back in” option”
defaults write com.apple.Preview NSQuitAlwaysKeepsWindows -bool false
defaults write com.apple.QuickTimePlayerX NSQuitAlwaysKeepsWindows -bool false
defaults write com.apple.loginwindow TALLogoutSavesState -bool false
defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false

echo “Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)”
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

echo “Show all filename extensions in Finder”
defaults write NSGlobalDomain AppleShowAllExtensions -bool true

echo “Show Status bar in Finder”
defaults write com.apple.finder ShowStatusBar -bool true
defaults write com.apple.finder PathBarRootAtHome -bool TRUE

echo “Expand save panel by default”
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
echo “Enable Safari’s debug menu”
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true
echo “Only use UTF-8 in Terminal.app”
defaults write com.apple.terminal StringEncodings -array 4

echo “Popup don’t have to steal focus”
defaults write -g NSAutomaticWindowAnimationsEnabled -bool FALSE

echo “Add a stack with Recent Applications/Recent items on the Dock”
defaults write com.apple.dock persistent-others -array-add ‘{ “tile-data” = { “list-type” = 1; }; “tile-type” = “recents-tile”;}’
echo “Show the ~/Library folder”
chflags nohidden ~/Library
echo “Show host info on the login screen”
sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo 1

Dopo aver applicato queste modifiche, consiglio un riavvio della macchina.

Leave a Reply

Your email address will not be published. Required fields are marked *