I am trying to figure out how to set the default browser in OS X via the command line. I found this post in the forum , but the solution they are developing is to open a specific URL with a specific application. I am looking for a way to set the default browser system. There, this is a neat GitHub application called Objektiv , which does what I follow, but it is an application. There is a Cocoa method, apparently for setting the default browser to NSWorkSpace.
The preference file com.apple.LaunchServices needs to be changed for this, possibly more.
How to set another default browser via command line?
Thanks for the help.
osx-mountain-lion macos launch-services
Zettt
source share