<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3AWayland</id>
	<title>Talk:Wayland - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3AWayland"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Wayland&amp;action=history"/>
	<updated>2026-04-25T21:08:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Talk:Wayland&amp;diff=31627&amp;oldid=prev</id>
		<title>John3-16: XDG_RUNTIME_DIR path - optimal choices/standardization across packages - for use in Creating and exporting XDG_RUNTIME_DIR manually section</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Talk:Wayland&amp;diff=31627&amp;oldid=prev"/>
		<updated>2025-12-04T06:01:15Z</updated>

		<summary type="html">&lt;p&gt;XDG_RUNTIME_DIR path - optimal choices/standardization across packages - for use in &lt;a href=&quot;/wiki/Wayland#Creating_and_exporting_XDG_RUNTIME_DIR_manually&quot; title=&quot;Wayland&quot;&gt;Creating and exporting XDG_RUNTIME_DIR manually&lt;/a&gt; section&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== XDG_RUNTIME_DIR path ==&lt;br /&gt;
Some background on how {{Path|/run/user/$(id -u)}} or similar might be used over {{Path|/tmp/$(id -u)-runtime-dir}} or the like;  note that it needs to satisfy its [https://specifications.freedesktop.org/basedir/latest/#variables XDG specification];  and that /tmp/$(id -u)-runtime-dir would currently skew away from the usage made by other facilities in Alpine Linux:-&lt;br /&gt;
* [https://wiki.archlinux.org/title/XDG_Base_Directory#User_directories Archwiki - pam_systemd using /run/user/$UID] - &lt;br /&gt;
* [https://man.sr.ht/~kennylevinsen/seatd/ &amp;#039;~kennylevinsen/seatd&amp;quot;] offers {{Path|/run/user/`id -u`}} (See also the [https://git.sr.ht/~kennylevinsen/seatd-docs/commit/47003f179237658407a4c33b281efd18a5ba01b9 &amp;quot;~kennylevinsen/seatd-docs&amp;quot;] homepage). &lt;br /&gt;
* As noted in [[Wayland#XDG_RUNTIME_DIR|XDG_RUNTIME_DIR]] section:-&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;elogind&amp;#039;&amp;#039;&amp;#039; uses {{Path|/run/user/$(id -u)}};  &lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;mkrundir&amp;#039;&amp;#039;&amp;#039; employs {{Path|/run/user-$UID}} and should be mounted as {{ic|tmpfs}} by [https://git.sr.ht/~whynothugo/mkrundir];&lt;br /&gt;
** [[#With_pam_rundir|pam_rundir]] below similarly engages {{Path|/run/user}}, [[https://man.sr.ht/~kennylevinsen/seatd/#using-codepam_rundircode as per upstream]}}&lt;br /&gt;
* [https://github.com/void-linux/void-docs/issues/635 Void Linux docs - &amp;quot;session-management.md: Proper handling of XDG_RUNTIME_DIR #635&amp;quot;]&lt;br /&gt;
* [https://bbs.archlinux.org/viewtopic.php?id=293908 Arch forum - &amp;quot;[SOLVED&amp;lt;nowiki&amp;gt;]&amp;lt;/nowiki&amp;gt; Best place to put XDG environment variables&amp;quot;]&lt;br /&gt;
* Note that [https://wiki.gentoo.org/wiki/XDG/Base_Directories Gentoo&amp;#039;s wiki on XDG/Base Directories] currently points out required specifications without elaborating about specific paths;  in this wiki, a specific path, {{Path|/tmp/$(id -u)-runtime-dir}} had been given until today in the section, now modified to keep in line with other facilities.&lt;br /&gt;
In the light of this, please feel free to contribute:  please point out and hopefully update the wiki to indicate &amp;#039;&amp;#039;when and why&amp;#039;&amp;#039; {{Path|/tmp/$(id -u)-runtime-dir}} or similar would be preferred.  [[User:John3-16|John3-16]] ([[User talk:John3-16|talk]]) 06:01, 4 December 2025 (UTC)&lt;/div&gt;</summary>
		<author><name>John3-16</name></author>
	</entry>
</feed>