Slack: change browser to open links from desktop app

Viewed 45027

I use two browsers on my laptop - Brave for my personal stuff (Facebook, personal email, interesting things I want to read) and Firefox for my work browsing (work email, internal webpages, work communication). Normally I like having my default browser for the computer set to Brave (personal), since most of the time I use the laptop outside of work.

I now have the Slack desktop app to keep in better communication with folks at work. But when I click on links from there, it goes to Brave where I am not logged-in to anything work related.

Is there a way to change the browser that Slack opens without changin my system wide default browser?

I'm on a Mac, Mojave, if that helps.

12 Answers

I tried many options; nothing worked for me. Firfox is my default browser but slack opened links Opera. So i uninstalled Opera. Then slack opened links in Chrome.

Here is what i did that worked for me.

  • I use Kubuntu and firefox is already the default browser (verified from firefox's settings)
  • I want slack to open links in firefox
  • Open System Settings -> Applications -> Default Applications
  • Select Firefox as the default for Web Browser.

Now slack opens links in firefox.

You could use Browserosaurus or Finicky or even a combination of them.

When Browserosaurus is set up as default browser, and a link is clicked, it shows a list of installed/configured browsers in which to open that link that can be selected with a one-character shortcut.

Finicky can also be setup as a default browser and it allows me to setup rules that can launch a suitable browser based upon those rules. For example: open slack.com links in Firefox, Box.com in Safari and so on.

References:

I'm looking to do the same thing, for the same reason.

Even though you can set the default browser system wide, there doesn't appear to be a way to set the default browser per app (e.g. for Slack). There also isn't a way to set a preference in Slack for which browser to launch.

The only option I've found so far is Choosy (https://www.choosyosx.com) but it costs money, though you can trial it for 40 days or so.

I'm trying it out now and works nicely so far.

You can't achieve this straight forward on mac OS, but on Linux you can: Default Browser for certain application | https://askubuntu.com/a/1188672
Considering moving to the Linux world may be one option.


EDIT: Desktop entries are not part of macOS, but maybe one can mimic it by using AppleScript and booting applications from there, or writing a shellscript and booting application from the CLI.

I gave up. There's no way in Slack to specify a browser. But with the Firefox Containers extension (I have both the Facebook and Multi-account Container extensions), I can better compartamentalize how I use my tabs. So, now everything defaults to Firefox.

One alternative solution is to open Slack on your favorite browser and open links directly there.

I'm using Windows 10 and frustrated by this problem daily. Annoying as it is, instead of clicking on the item to open it, if you right-click you can copy the link and paste it into your work-related browser. I don't know how / if this would work on a mac though.

In windows 10, i solved this by doing the following:

Start > Settings > Apps > Default Apps > Web Browser -> Your browser.

If you using Ubuntu (Linux) you can just go to about:preferences and click on "make default" button.

Example

on mac: System Preferences -> General -> Default web browser

Related