Useful for #1991 and others.
Done in r21068.
Note: as per #2128, this is a local command which cannot be used when starting a remote server.
Can I somehow enforce
$ cat /etc/xpra/conf.d/80_lock.conf # Lock Shadow server once "alone" start-on-last-client-exit=bash -c '. /run/user/1000/dbus-session; gnome-screensaver-command -l'
only on shadow commands? Now every client exiting locks my screen (which is not "that bad", but could be avoided maybe)
I know that you've said in a ticket that
xpra should be smart enough about DBUS sessions, DISPLAYs and all that, but, until I see it working, I'd prefer to play safe and load the
only on shadow commands?
Please create a new ticket for this feature. We could expose the session-type somewhere then you could script it.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2057