Gdocs Open Chromium instead of Firefox

I am using Insync on Arch Linux and Chromium keeps opening instead of firefox despite Firefox being set as the default web browser in KDE Plasma 5. What is going on and how do I change this so that firefox opens?

Tagging our engineer @jimperio and he will get back to you.

Insync uses Python’s webbrowser.open. Could you try doing something like

$ python -c 'import webbrowser; webbrowser.open("https://www.google.com")'

to see whether that opens Chromium instead of Firefox as well?

Sorry to keep you waiting, this command opened Chromium.

I use Firefox as my default browser, but I want to be able to choose a different browser for gdoc files, because Chrome/Chromium naturally has better support for Google docs, including offline support. For all my other browsing needs I want to continue using Firefox, therefore I would be happy if a browser choice for insync was possible.

@jimperio
I have the same issue on Arch.

Trying to run your command even raises an error for me:

TypeError: register() takes from 2 to 3 positional arguments but 4 were given

Hey @pat-s,

Tagging our engineer @Kurt_Ko to take a look at the issue. :slight_smile: