Photostream: how to restart the agent after sleep

2012-06-22 20:38:00

Finally! I have finally figured out how to restart the PhotoStream agent, after waking my Macbook from it's sleep!

After figuring out how to access the PhotoStream data through Finder, I now needed a way to trigger a synchronization in the Stream. Normally, after setting up PhotoStream in OS X system preferences, the agent software will be started when you login to your desktop. However, this says nothing about potential restarts after sleeping your Mac. 

First I dug around in launchd / launchctl and quickly discovered the full name of the agent: com.apple.photostream-agent

After that, things got difficult as I couldn't find any configuration file to load the agent with once it had been kicked out of launchd. So you can launchctl [stop|start] all you want, but once you launchctl unload I cannot load the agent back in. 

I found that the actual agent appears to be an application in /Applications/iPhoto.app/Contents/Library/LoginItems. There you will find PhotoStreamAgent.app, which can be ran and which will in fact load com.apple.photostream-agent. However, this will not be the vanilla one, but one with an extra label in front of it. 

Mmm, this doesn't seem to work properly yet. I'll need to do some more researching. 


kilala.nl tags: , ,

View or add comments (curr. 0)