Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default browser #19

Open
kevinSuttle opened this issue Oct 7, 2015 · 1 comment
Open

Change default browser #19

kevinSuttle opened this issue Oct 7, 2015 · 1 comment

Comments

@kevinSuttle
Copy link
Owner

general

This one seems less straightforward. More about changing a group of file type handlers for OSX.

For example:

# For Safari
    handler id:            580
        URL scheme:    http
        options:
        all roles:     com.apple.safari (0x8000042b)
    --------------------------------------------------------------------------------
    handler id:            672
        URL scheme:    https
        options:
        all roles:     com.apple.safari (0x8000042b)
    --------------------------------------------------------------------------------
    handler id:            764
        content type:  public.html
        options:
        all roles:     com.apple.safari (0x8000042b)
    --------------------------------------------------------------------------------
    handler id:            856
        content type:  public.xhtml
        options:
        all roles:     com.apple.safari (0x8000042b)

You can find and display the values in a temporary file with the following command:
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Laun\ chServices.framework/Versions/A/Support/lsregister -dump | open -fe

@kevinSuttle
Copy link
Owner Author

See https://github.com/moretension/duti for a 3rd-party solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Sierra
Research
Development

No branches or pull requests

1 participant