#1104660 alacritty does not obey default browser settings in xdg-mime

Package:
alacritty
Source:
alacritty
Description:
Fast, cross-platform, OpenGL terminal emulator
Submitter:
Andrew Gunawan
Date:
2025-05-04 19:06:02 UTC
Severity:
normal
#1104660#5
Date:
2025-05-04 05:29:28 UTC
From:
To:
I use an application called Junction (installed via flatpak) to prompt me for which browser I
want to use to open a link, and it works fine when clicking links in
most apps.
However, I noticed that in Alacritty, when I click open a link, say
doing: `echo "https://github.com/"` and click the link, Chromium gets
opened up instead.
Doing a xdg-mime query default x-scheme-handler/https returns:
re.sonny.Junction.desktop

Doing a xdg-settings get default-web-browser also returns
re.sonny.Junction.desktop

I'm not sure where the issue here is, but checking my Chromium settings,
it says it is the default browser. Checking my Firefox settings, it also
says it is the default browser.

If there's any other information I can provide to help, do let me know,
thank you.

#1104660#10
Date:
2025-05-04 19:02:43 UTC
From:
To:
Can you try running "alacritty -vv" and then invoke the behavior to open
a link? What does the alacritty log show for the command it's running?

Cheers,