From 5e95d487982b9362b544139b98d1da55fa6ef78c Mon Sep 17 00:00:00 2001 From: PS Date: Sat, 7 Feb 2026 10:20:30 +0100 Subject: Add doc --- doc/source/user/xdg/xdg-runtime-dir.html | 75 ++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 doc/source/user/xdg/xdg-runtime-dir.html (limited to 'doc/source/user/xdg/xdg-runtime-dir.html') diff --git a/doc/source/user/xdg/xdg-runtime-dir.html b/doc/source/user/xdg/xdg-runtime-dir.html new file mode 100644 index 0000000..3b17d8b --- /dev/null +++ b/doc/source/user/xdg/xdg-runtime-dir.html @@ -0,0 +1,75 @@ + + + + + + + xdg-runtime-dir + + + +
+

+ goetia-base +
+ goetia +
+ Software +
+ 0x53.net +

+
+ +

The xdg-runtime-dir service

+

+ This service dynamically creates the directory + specified in the environment variable + XDG_RUNTIME_DIR. +

+

+ Starting this service creates the directory + and sets the proper permissions, + stopping it deletes it. +

+

+ It is recommended to set + XDG_RUNTIME_DIR + to the + @USER@/@USERTREE@/xdg-runtime-dir + subdirectory of the + user runtime directory. + This allows to follow the + XDG Base Directory Specification. +

+

+ If more than one + user supervision tree + per user is used to have multiple + sessions + with a distinct UI server, audio server, etc. + It makes sense for each session to have its own, + distinct xdg-runtime-dir, + since it is often used for sockets and temporary files + of said UI server, audio server, etc. + Setting + XDG_RUNTIME_DIR + as described above, allows for this. + Note, however, that this deviates from the + XDG Base Directory Specification. +

+

+ All user services writing to or reading from + XDG_RUNTIME_DIR + should depend on this service. +

+

See also

+ + + -- cgit v1.2.3