Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

change browser used when clicking links?

#808

Hi, Benny.

I don't know if this is a common workflow, but here's my scenario: I use MailMate and Chrome for work stuff and Apple Mail and Safari for personal stuff. My system default browser is Safari. When I want to click a link in an email in MailMate, I have to right-click to copy then paste it into Chrome.

Would you consider added a browser preference override to MailMate, so that I could tell it to launch Chrome instead of the system default browser when clicking web URLs? It's a feature I'd use many times every day.

Thanks.

Reported by O'Shaughnessy Evans · June 12th, 2014 @ 04:27 PM

State: fixreleased
Milestone: none
Assigned to: benny benny

Activity

  1. benny
    benny
    • State changed from new to fixcommitted

    In the next update of MailMate, the following should work:

    defaults write com.freron.MailMate OakBrowserAppBundleIdentifier -string "com.google.Chrome"
    

    I'm not sure it's a useful feature for many users though...

    June 13th, 2014 @ 10:49 AM

  2. O'Shaughnessy Evans
    O'Shaughnessy Evans

    Yeah, I wonder. :-)

    Thanks for adding it. I'll test it out w/the next beta release.

    June 14th, 2014 @ 04:09 AM

  3. O'Shaughnessy Evans
    O'Shaughnessy Evans

    Just tested it w/the latest release. Works great! Thanks :^)

    June 18th, 2014 @ 04:30 PM

  4. benny
    benny

    Great. Look out for the problem described in ticket #816 Latest test build is highly unstable.

    June 18th, 2014 @ 06:38 PM

  5. O'Shaughnessy Evans
    O'Shaughnessy Evans

    So, Benny, if I wanted to change it to Firefox or Safari, what strings should I use? :^)

    Thanks!

    October 2nd, 2014 @ 04:11 AM

  6. O'Shaughnessy Evans
    O'Shaughnessy Evans

    I see that "com.apple.Safari" works for Safari and "org.mozilla.firefox" for Firefox. Know any others?

    October 2nd, 2014 @ 04:17 AM

  7. benny
    benny

    You can use the following command to get the value from any application:

    defaults read /Applications/Safari.app/Contents/Info.plist CFBundleIdentifier
    

    October 2nd, 2014 @ 06:59 AM

  8. O'Shaughnessy Evans
    O'Shaughnessy Evans

    Hi, Benny. I've written up a simple little script to change the browser. It recognizes Chrome, Firefox, and Safari.

    ./mm-browser
    MailMate browser: org.mozilla.firefox
    Browser options: chrome, firefox, safari
    
    ./mm-browser safari
    MailMate browser: org.mozilla.firefox -> com.apple.Safari
    

    This way I won't have to remember how to change it later :-) I thought others might find the script useful, too, so please feel free to share it.

    October 2nd, 2014 @ 05:09 PM

  9. O'Shaughnessy Evans
    O'Shaughnessy Evans

    Hmm. Maybe I should make this a bundle.

    October 2nd, 2014 @ 05:10 PM

  10. benny
    benny

    It's certainly a reminder to me that I should either make it easier to change hidden preferences (via a URL scheme) or add a GUI for more of the hidden preferences.

    October 5th, 2014 @ 12:31 PM

  11. benny
    benny
    • State changed from fixcommitted to fixreleased

    October 15th, 2014 @ 03:32 PM

  12. benny

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.