Disable auto launching of Photos application on Mac OSX Yosemite & El Capitan
15113
adamlogan
I'm aware that there are solutions existing that allow you to prevent auto launch of applications such as iphoto or the newer replacement, Photos on a per device basis through the UI of Photos itself, and more comprehensive control (can set what application opens) through Image Viewer, but my question is if there is a way to stop Photos from auto-launching universally (no matter what removable media I mount), preferably by issuing a default write command or disabling a launchd plist or similar.
which shows the two writes did get written, but they're not doing anything obvious, and definitely not what I was going for.
I'm not sure what service to do killall on for quicker testing, rebooting to test is kinda overkill. Activity Monitor shows the following with "photo" as the search term:
Not sure if -currentHost is really needed, or if it would also work without it.
Maybe it depends on the OS version.
Работал на 10.11.5 тоже отлично.
techraf 7 лет назад
0
2
glenn
Из терминала зайдите в /Applications/Photos.app/Contents/MacOS
тип:
sudo mv Photos Photos.old
нажмите Enter. Вам будет предложено ввести пароль root.
Это должно полностью отключить фотографии. Если вы хотите, чтобы фотографии снова работали, введите
sudo mv Photos.old Photos
1
user2943160
В ответ на красочное описание этих функций автозапуска я обнаружил, что следующие команды, чтобы отключить функцию «Фотографии», помогли мне справиться с проблемами с картами SD камеры: