If I open try to open a link in a desktop app (e.g. element) nothing happens. If I do the same thing with xdg-open it works.
My config for the portal is modules/wayland.nix · master · Florian Engel / nixosconfiguration · GitLab
I start sway with modules/wayland.nix · master · Florian Engel / nixosconfiguration · GitLab. I also tried adding `dbus-run-session` like suggested here Issue with xdg-open in sway - #2 by ketamin00 . Which did not change the behavior.
dbus-monitor shows
method call time=1773471980.121541 sender=:1.64 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1773471980.121590 sender=org.freedesktop.DBus -> destination=:1.64 serial=1 reply_serial=1
string ":1.64"
signal time=1773471980.121626 sender=org.freedesktop.DBus -> destination=(null destination) serial=125 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.64"
string ""
string ":1.64"
signal time=1773471980.121681 sender=org.freedesktop.DBus -> destination=:1.64 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.64"
method call time=1773471980.122069 sender=:1.64 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.gnome.SessionManager"
error time=1773471980.122101 sender=org.freedesktop.DBus -> destination=:1.64 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=2
string "Could not get owner of name 'org.gnome.SessionManager': no such name"
signal time=1773471980.123239 sender=org.freedesktop.DBus -> destination=:1.64 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.64"
signal time=1773471980.123284 sender=org.freedesktop.DBus -> destination=(null destination) serial=126 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.64"
string ":1.64"
string ""
method call time=1773471980.236231 sender=:1.65 -> destination=org.freedesktop.DBus serial=1 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method return time=1773471980.236274 sender=org.freedesktop.DBus -> destination=:1.65 serial=1 reply_serial=1
string ":1.65"
signal time=1773471980.236328 sender=org.freedesktop.DBus -> destination=(null destination) serial=127 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.65"
string ""
string ":1.65"
signal time=1773471980.236382 sender=org.freedesktop.DBus -> destination=:1.65 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.65"
method call time=1773471980.236610 sender=:1.65 -> destination=org.freedesktop.DBus serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.gnome.SessionManager"
error time=1773471980.236640 sender=org.freedesktop.DBus -> destination=:1.65 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=2
string "Could not get owner of name 'org.gnome.SessionManager': no such name"
signal time=1773471980.237784 sender=org.freedesktop.DBus -> destination=:1.65 serial=4 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
string ":1.65"
signal time=1773471980.237830 sender=org.freedesktop.DBus -> destination=(null destination) serial=128 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.65"
string ":1.65"
string ""