mahkoh / jay

A Wayland Compositor
GNU General Public License v3.0
272 stars 14 forks source link

Portal does not work with dbus-run-session #324

Open tadeokondrak opened 4 days ago

tadeokondrak commented 4 days ago

dbus-run-session is some sort of namespacing for a dbus session bus - I'm not exactly sure, I just cargo-cult copied the habit of using dbus-run-session sway and copied that over to when I switched to jay.

Jay's dbus library uses $XDG_RUNTIME_DIR/bus instead of parsing $DBUS_SESSION_BUS_ADDRESS - this was confusing to figure out. I actually don't need this to be resolved in Jay now that I stopped using dbus-run-session, but it's a possible improvement.

mahkoh commented 4 days ago

Thanks for reporting this.

If someone wants to submit a patch to fix this issue, I'd be happy to review it. I believe the zbus crate can serve as a reference.