Setup default browser per insync account

I’m in Fedora 33. I have 2 insync accounts, one personal and one for work and also 2 browsers to keep it clean. chrome for work and firefox for personal stuff. I would like to open the google docs files in the respective browser so I don’t have to have both account in each browser. I want to set the default browser for each insync account.

1 Like

Hi! Insync only uses one default browser on your machine. This is a very interesting use-case though! We can line up this feature if we receive more requests from other users. :slight_smile: Thank you for bringing it up to us!

1 Like

Just commenting here to bump this topic. I have a nearly identical use case as jhr0771. Being able to select a default browser for Insync separate from the global default browser would be a nice tweak!

1 Like

@dbaker_CCCC Thank you so much for sharing your use case! :slight_smile:

Hi everybody.
I’ve a similar problem: I cannot setup the “real” default browser on Linux with insync. Double-clicking on google docs filelink makes Chrome be opened even if Firefox is the default browser.

I use Kubuntu 22.04 and Insync 3.7.11 with Dolphin plugin.

Hi @Tommaso_Gamaleri!

I’ll check this out for you and see how to launch these files on your default browser. Thank you!

Hi @Tommaso_Gamaleri

Can you send us the output of:

xdg-mime query default x-scheme-handler/https

Hi Kurt,

the output is:

google-chrome.desktop

So I suppose the problem is about my OS: in fact as soon I start Firefox (after having switched on my PC) I was asked if I want set Firefox as default browser.
But, if I check in Firefox configuration, it is not shown as the default one and clicking of “Set Firefox the default browser” nothing happens.

I suppose to have to ask to kubuntu community.

Maybe I should install firefox as .deb instead of the default snap version?

thanks and sorry for the trouble
Tommaso

1 Like

Hi @Tommaso_Gamaleri

There seems to be multiple places where default programs can be set in Linux and not all of them are “synced”.

Can you try running:

xdg-mime default firefox.desktop ‘x-scheme-handler/http’
xdg-mime default firefox.desktop ‘x-scheme-handler/https’

And see if that works?

The firefox.desktop in the command may be different in your case as it’s installed via snap

Thanks Kurt!

I have just tried both of the commands you suggested me, but after that (without rebooting the PC… should be necessary?) nothing changed.

Insync still opens file with Chrome and the command

xdg-mime query default x-scheme-handler/http

replies: google-chrome.desktop

I should find more time to looking for a solution asking help to che kubuntu community.

Thanks
Tommaso

Hi Kurt

I understood the problem and (thanks to this forum) I found the solution.

Problem: Snap version of Firefox can’t be set as default browser

Solution: (workaround) It’s necessary to disable “Always check if Firefox is your default browser in Firefox settings”

It was not a problem of Insync and I thanks you for the support you gave to me. I hope the solution could be usefull also for other Insync Linux users

1 Like

Hey @Tommaso_Gamaleri We appreciate you so much after this update. :slight_smile: We will take note of this!