From cd88be0faec8b794e2ed6d145896f464125429b4 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Thu, 29 Oct 2015 10:50:21 +0000 Subject: .osx: Stop iTunes from automatically syncing connected devices Closes #593. --- .osx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.osx b/.osx index 9aee281..56dd369 100755 --- a/.osx +++ b/.osx @@ -480,6 +480,13 @@ defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebK # Add a context menu item for showing the Web Inspector in web views defaults write NSGlobalDomain WebKitDeveloperExtras -bool true +############################################################################### +# iTunes # +############################################################################### + +# Disable automatic device syncing +defaults write com.apple.iTunes dontAutomaticallySyncIPods -bool true + ############################################################################### # Mail # ############################################################################### @@ -824,9 +831,9 @@ defaults write com.divisiblebyzero.Spectacle UndoLastMove -data 62706c6973743030 ############################################################################### for app in "Activity Monitor" "Address Book" "Calendar" "Contacts" "cfprefsd" \ - "Dock" "Finder" "Google Chrome" "Google Chrome Canary" "Mail" "Messages" \ - "Opera" "Safari" "SizeUp" "Spectacle" "SystemUIServer" "Terminal" \ - "Transmission" "Twitter" "iCal"; do + "Dock" "Finder" "Google Chrome" "Google Chrome Canary" "iTunes" "Mail" \ + "Messages" "Opera" "Safari" "SizeUp" "Spectacle" "SystemUIServer" \ + "Terminal" "Transmission" "Twitter" "iCal"; do killall "${app}" &> /dev/null done echo "Done. Note that some of these changes require a logout/restart to take effect." -- cgit v1.2.3