I get these messages in a lot of apps and games.
Here is relevant configuration
xdg.portal = {
enable = true;
extraPortals = with pkgs; [xdg-desktop-portal-wlr xdg-desktop-portal-gtk];
config.sway = {
default = "gtk";
"org.freedesktop.impl.portal.ScreenCast" = "wlr";
"org.freedesktop.impl.portal.Screenshot" = "wlr";
};
};
And in home manager
{config, ...}: {
xdg.mimeApps.defaultApplications = {
"text/html" = "librewolf.desktop";
"x-scheme-handler/http" = "librewolf.desktop";
"x-scheme-handler/https" = "librewolf.desktop";
"x-scheme-handler/about" = "librewolf.desktop";
"x-scheme-handler/unknown" = "librewolf.desktop";
}
{
config,
lib,
pkgs,
...
}: {
wayland.windowManager.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
}
In lot of apps I can open links. The xdg open command works flawlessly.