This will stop autolaunch per device, but what about preventing universal auto launching for various cameras/flash drives etc? I've tried testing out a few strings such as:
defaults write com.apple.Photos canAutoLaunch = 0
defaults write com.apple.Photos shouldAutoLaunch = 0
with no luck so far. I'm not even sure what service to do killall on to test, rebooting to test is kinda overkill. Activity Monitor shows the following with "photo" as the search term:
Photos Agent
com.apple.CloudPhotosConfiguration
Photolibraryd
com.apple.photomoments
com.apple.photomodel
Photos
I've tried doing a defaults read on Photos Agent and so on even escaping characters and other variations and whatever with no luck.
Can anyone figure out or know the proper string to achieve desired effect?