You are not logged in.
Recently switched to firefox from chromium - ensured firefox is set as the default browser and such.
When attempting to open links from other apps (slack, discord, terminal, etc...), if firefox is already open and running - the link opens in a new tab as expected. The anomaly is when there is no open firefox, clicking on the link spawns a firefox process that I can see with pgrep - but doesn't actually open the browser, attempting to open the browser after this happens creates more processes but never actually opens. I have to `killall firefox` and only then I can manually open the browser again...
Pretty stumped here
Offline
I was facing this same issue and discovered it was because of a theme I had, which was giving warnings in the terminal such as:
(firefox:55729): Gtk-WARNING **: 14:14:40.141: Theme parsing error: gtk.css:8916:21: Not using units is deprecated. Assuming 'px'.Note that running this command in terminal still opened firefox for me, but my guess is that this error prevents firefox from opening when called from electron (which calls xdg-open).
I changed the theme to Arc-Lighter, one that gave no warnings upon running the firefox command, and it worked! Now links from Slack open directly in a new window. I figure this bug should be reported, but I don't know where, i.e. whether it's electron's fault, the theme's fault, or firefox's.
Last edited by abhinavd (2021-07-08 09:08:11)
Offline