Prevent Yosemite photos.app from starting when plugging in device. Posted on October 30, 2015 by jgordon Link. defaults -currentHost write com.apple.ImageCapture disableHotPlug -bool YES