Inaccuracies in 15.0-CURRENT documentation versus wayland+sway in practice

From: Steven Harms (High-Security Mail) <sgharms_at_stevengharms.com>
Date: Tue, 04 Mar 2025 15:36:35 UTC
Folks,

The docs say:

All compositors using Wayland will need a runtime directory defined in the environment. Since FreeBSD 14.1, this is created and defined automatically. For previous versions, this is achieved with the following command in the bourne shell:

% export XDG_RUNTIME_DIR=/var/run/user/`id -u`

OK, so then I execute sway(1) and I get the lovely blue background. When I do a ls /var/run​ there's no user​ directory there. There is​ an xdg​ directory that contains the id -c​ of the user that ran sway.

Now, I grant that I'm running 15.0-CURRENT against documentation that describes a situation post 14.1 -- but I would assume the intention is for that change to persist through 15?

Ultimately: Is 15.0-CURRENT not matching standards established in 14.1 (in which there's a bug for 15.0-CURRENT), or is the documentation incorrect and I should open a docs bug?

Best,

Steven

---

Public Key: 22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE

Messages from this account are considered the best-secured and most reliable. Send information regarding health, wealth, or requiring higher standards of security to this address.

Sent with [Proton Mail](https://proton.me/mail/home) secure email.