void-docs icon indicating copy to clipboard operation
void-docs copied to clipboard

session-management: mention dbus-update-activation-environment

Open ericonr opened this issue 4 years ago • 3 comments

Necessary, for example, to allow gnome-keyring-daemon to launch prompts for user interaction, since the prompts are launched by the dbus daemon.

Before submitting a pull request, please read CONTRIBUTING; pull requests that do not meet the criteria described there will not be merged. Note that this repository's CONTRIBUTING contains information specific to this repository, and is not the same as CONTRIBUTING for the void-packages repository.

We prioritise pull requests involving information specific to Void over those involving information applicable to Linux in general.

ericonr avatar Nov 29 '21 05:11 ericonr

@steinex iirc we talked about this when I mentioned my service that had a sleep 4 in the middle :p

Does it look ok?

ericonr avatar Nov 29 '21 12:11 ericonr

I think it's not actionable enough - imo audience should be told to run it as part of their (sway|X11 wm) config so that it's called after their Wayland/X session is up.

Then for sway, you also want XDG_CURRENT_DESKTOP=sway (but I forgot why and i'm not sure if is important to mention / in scope, iirc it was for portal-wlr).

Other than that: thanks! :-)

steinex avatar Nov 29 '21 13:11 steinex

Thanks, I will try to include some guidance on when to run it.

Portal-wlr does need the current desktop var, I will try to sneak in something about "other applicable variables" (though for my usage I just launch dbus-run-session with that one set already).

ericonr avatar Nov 29 '21 18:11 ericonr