zumoshi / BrowserSelect

Browser Select is a utility to dynamically select the browser you want instead of just having one default for all links.
GNU General Public License v2.0
289 stars 39 forks source link

Linux version? #74

Closed seffyroff closed 3 years ago

seffyroff commented 3 years ago

I find myself using a Linux desktop more frequently than Windows these days, and I sorely miss BrowserSelect <3

I realise that .net/mono doesn't mean automatic Linux compatibility, and the work would be likely significant, but it would be really cool.

As far as I can tell, there's no other existing mechanism for this on Linux desktop. I would be happy to be proved wrong there though.

I imagine running it via Wine would be a nope.

zumoshi commented 3 years ago

The main issue is not running it, but the browser discovery mechanism which atm is relying on browsers creating keys in StartUpInternet section of the registry which doesn't exist in Linux. Depending on which DE you use browsers have different ways of announcing their presence, In gnome, for example, we would need to use xdg-mime query. It's not a matter of it not being possible just that someone has to add the logic for it to work, I will accept pull requests if you do it but I don't have the time to do it myself atm.

As for running it in wine, it will probably work, except that it would only detect browsers installed inside wine not native ones.

As for alternatives I found this one: https://braus.properlypurple.com/ Haven't used it though so no comment on quality.

Braus appears to use Gnome's g_app_info_get_all_for_type for it's detection so not sure how it would work if you are not using Gnome.

seffyroff commented 3 years ago

Random reply: I use your software every day and it truly enriches my experience. Thanks so much. I would like to show $upport somehow?