3

For some reason, Google Chrome was randomly starting up on my system. I uninstalled it, and now I occasionally get the "Choose Application" dialog, which asks "Where is Google Chrome.app?"

How can I determine which application on my machine is trying to invoke Google Chrome?

(Note that I have "Google Chrome Canary" installed, and it is set as my default web browser).

2 Answers 2

2
man iosnoop

man execsnoop

man opensnoop 

Also possible to get a hint of what's going on running

launchctl bslist -j

as root, which will show you launchd jobs, -j tells you which job started it,

and

launchctl bstree

Which shows the jobs running, and under which domain they are running under.

3
  • Did any of these show anything but launchd as the parent process?
    – bmike
    Jul 17, 2011 at 19:20
  • Several launchd's run , one for each user, even users with no shells. I'll edit the answer though.
    – chiggsy
    Jul 17, 2011 at 22:24
  • opensnoop in particular will show a file descriptor of -1 for failed opens, which might give insight.
    – chiggsy
    Jul 17, 2011 at 22:35
2

Two places come to mind immediately.

  1. Start up Safari and make sure Google Chrome isn't the default browser.
  2. Clean up your launch services database.

Since you have already done #1 - redoing it won't likely matter but your safari pref file storing this setting could be corrupt.

Item 2 needs more explanation - Use Finder to right click on a text or html file - if you still see Chrome in the Open With... dialog you might want to manually rebuild the launch services database.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .