XDG_RUNTIME_DIR on a system with no "logins"

Pekka Paalanen ppaalanen at gmail.com
Thu Dec 19 08:14:54 UTC 2019

On Wed, 18 Dec 2019 13:10:14 +0100
Guillermo Rodriguez <guillerodriguez.dev at gmail.com> wrote:

> In my application I need to run several clients, and each one is started
> from a separate SysV init script. I guess that I will need to define the
> XDG_RUNTIME_DIR env var to point to this "made up" location in each
> script. A bit ugly...


yes I guess, and SysV init scripts have other downsides: if you
use them to launch both Weston and the clients, you may have hard
time making sure the clients are launched only after Weston is
ready to accept them. Unfortunately Weston's own auto-launch
feature has not materialized yet, although it has been discussed and
should likely use the XDG desktop files for it. Even then, it
would be a one-shot thing, not restarting the clients if they quit.

If you used systemd, Weston has integration for that, both startup
notification to ensure dependent services are started only after
Weston is ready and socket activation should you choose to want

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20191219/c4f406a6/attachment.sig>

More information about the wayland-devel mailing list