Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Mar 2025 15:36:35 +0000
From:      "Steven Harms (High-Security Mail)" <sgharms@stevengharms.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Inaccuracies in 15.0-CURRENT documentation versus wayland+sway in practice
Message-ID:  <QoqaKSsAhtLxTg3jluy5rRXdlBa5zAuQGud0iToGZe8EWTq9lt2L7XF6fx_upmxfwrElqMUv1tjsPqQ_EgZSwz5WxgIbEAVsMYdkOjyWbYE=@stevengharms.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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.
[-- Attachment #2 --]
<div style="font-family: Arial, sans-serif; font-size: 14px;">Folks,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">The docs say:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><div style="font-size: 16px; text-decoration: none; font-family: &quot;inter var&quot;, -apple-system, BlinkMacSystemFont, &quot;avenir next&quot;, avenir, &quot;segoe ui&quot;, &quot;helvetica neue&quot;, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif; color: rgb(68, 68, 68);"><p><span></span></p></div><span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);">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:</span><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);"><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span style="text-decoration: none; display: inline !important; background-color: rgb(255, 255, 255);"><span>% export XDG_RUNTIME_DIR=/var/run/user/`id -u`</span><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">OK, so then I execute sway(1) and I get the lovely blue background. When I do a <code>ls /var/run</code>​ there's no <code>user</code>​ directory there. There <i>is</i>​ an <code>xdg</code>​ directory that contains the <code>id -c</code>​ of the user that ran sway.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">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?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">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?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Best,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Steven</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        <div>---<br></div><div><br></div><div style="font-family: Arial, sans-serif; font-size: 14px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Public Key: <a title="22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE" href="https://22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE"><span>22BE39E2FA68D8BA8DC4B43A55A16D8CE2B036DE</span></a><br></div><div style="font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Arial, Helvetica, sans-serif; color: rgb(34, 34, 34);"><br></div><div>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.<br></div>
    </div>
    <div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
    <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://proton.me/mail/home">Proton Mail</a> secure email.
    </div>
</div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?QoqaKSsAhtLxTg3jluy5rRXdlBa5zAuQGud0iToGZe8EWTq9lt2L7XF6fx_upmxfwrElqMUv1tjsPqQ_EgZSwz5WxgIbEAVsMYdkOjyWbYE=>