-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I am running NixOS with greetd.
I have done a lot of fiddling to start regreet in a sway session started by greetd, because cage is still unusable to me.
What I struggled with the most was getting rid of the 25 sec delay of GTK because it's waiting for answers from dbus (xdg-portal-gtk or something). All this is described in the added Note however the solution described in this link is supposed to work for normal sway sessions it will not work for greetd.
What I figured out is that what is really need was basically to change command that starts sway to this instead:
/path/to/bin/dbus-run-session /path/to/bin/sway --config /path/to/swayConfig
Of course paths don't need to be explicit if they are already in PATH.
In the end it doesn't matter if your add stuff to your configuration (that tries to get some envs from dbus) when sway isn't run with dbus to begin with.
In that sense, please verify my solution is indeed the correct thing to do and update the documentation, so no one has to wait for this beautiful software to start ever again.