Links in external apps are not running in my default browser

Hi folks,

Ive come across a weird issue Im having. When I click on a web link in an external app such as Telegram or Element etc... Firefox doesnt open. I have two Firefox profiles.

Currently, clicking on an external link seems to run the 'firefox -p' command and asks me to select a profile. When I click the profile I want it gives me a 'Firefox is already running' message.

If I select another browser 'Brave' for example, links open in new tabs without issue.

Ideally, I'd just like to be able to click on an external web link and it to open as a new tab in firefox.

I'd welcome any thoughts on this.

Hi :slight_smile:

You can cheat a bit xD
Try making a script that will take a argument and open a link in a new tab, like this :

#!/bin/bash
firefox -new-tab $1

Next create a default entry :

sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/fake-browser 10

Next choose it as default browser :

sudo update-alternatives --config x-www-browser

Give it a try running twice this commands :

sensible-browser google.com
sensible-browser google.com

sensible-browser command will run your default browser.
I was not able to reproduce your issue exactly as you have it, but I think this could work. I hope will work for you :slight_smile: