You are not logged in.

#1 2023-05-29 09:59:33

Wild Penguin
Member
Registered: 2015-03-19
Posts: 402

Firefox superfluosly keeps asking being the default browser

Hi,

Since some time (a month?) Firefox keeps asking to be set the default browser. And I want it to be the default browser - I want it to keep checking, in case someone inadvertently (be that another browser who is malicious or just a user error) changes it (so, no, changing the Firefox preference is not a solution - I want to fix the real issue here). Firefox keeps asking it every time!

I'm using KDE Plasma and in KDE Plasma System Settings Firefox is the default browser. When I open any URL in any application (I've tried) they will open in Firefox.

Still, Firefox insists it is not the default. My guess is some file has gone corrupted outside KDE Plasma file associations (last time I checked Firefox is more GTK oriented and default applications / file associations is a hairy mess....?), and Firefox can not set itself as default (EDIT:I suppose another possibility is that something is actually changing the default browser constantly without my consent - but I don't use any other browser, and I haven't noticed links opening in another browser).

I have no idea where Firefox is checking it's defaultness, which log files to check etc.... Any ideas what could be the culprit?

Cheers!

Last edited by Wild Penguin (2023-05-29 10:02:49)

Offline

#2 2023-05-29 10:46:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,211

Re: Firefox superfluosly keeps asking being the default browser

Possibly xdg-open is set to something else for browsing, see https://wiki.archlinux.org/title/Default_applications


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-05-30 09:22:34

Wild Penguin
Member
Registered: 2015-03-19
Posts: 402

Re: Firefox superfluosly keeps asking being the default browser

Hi Lone_Wolf,

Thanks for the suggestion. I hadn't checked xdg-open, but seems like it's not the culprit:

$ xdg-settings get default-web-browser
firefox.desktop

I just checked by closing firefox and immediately restarting it. In between I checked with xdg-settings and from KDE system settings that Firefox is the default. It still insists it is not at startup.

Offline

#4 2023-05-30 11:24:58

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,211

Re: Firefox superfluosly keeps asking being the default browser

It may be worth it to check content of mimeapps.list , see https://wiki.archlinux.org/title/XDG_MIME_Applications


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB