From dc4f1d34dc2808c8463033037396d8102d20921a Mon Sep 17 00:00:00 2001 From: Alex Guerrero Date: Wed, 16 Dec 2015 14:13:58 +0100 Subject: .osx: Prevent Photos from opening automatically Closes #608. --- .osx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.osx b/.osx index 7c57de6..b791162 100755 --- a/.osx +++ b/.osx @@ -681,6 +681,13 @@ defaults write com.apple.appstore WebKitDeveloperExtras -bool true # Enable Debug Menu in the Mac App Store defaults write com.apple.appstore ShowDebugMenu -bool true +############################################################################### +# Photos # +############################################################################### + +# Prevent Photos from opening automatically when devices are plugged in +defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool true + ############################################################################### # Messages # ############################################################################### @@ -835,7 +842,7 @@ 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" \ + "Opera" "Photos" "Safari" "SizeUp" "Spectacle" "SystemUIServer" "Terminal" \ "Transmission" "Tweetbot" "Twitter" "iCal"; do killall "${app}" &> /dev/null done -- cgit v1.2.3