Skip to content
Discussion options

You must be logged in to vote

Since you're using Hyprland, you probably don't have the various DBus portals set up that xdg-open can take advantage of to launch URLs. xdg-open (and any commands that it runs) shouldn't be hanging around for more than the few milliseconds it takes to pass the command to DBus. In fact Ghostty can take advantage of those DBus portals directly (at least for non-file URLs) and never directly execute xdg-open:

https://github.com/ghostty-org/ghostty/blob/c5946f4fefd9382ba00d21c1bed0b6ff33a1b687/src/apprt/gtk/portal/OpenURI.zig
https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.OpenURI.html#org-freedesktop-portal-openu

So, basically, Firefox should never be a child pr…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jcollie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants