Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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).

share|improve this question

2 Answers 2

up vote 2 down vote accepted
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.

share|improve this answer
    
Did any of these show anything but launchd as the parent process? –  bmike Jul 17 '11 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 '11 at 22:24
    
opensnoop in particular will show a file descriptor of -1 for failed opens, which might give insight. –  chiggsy Jul 17 '11 at 22:35

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.