<div dir="ltr"><div><div>I looked into this before, and came to the conclusion that there is no fallback directory that meets the guarantees $XDG_RUNTIME_DIR provides. If you want your application to run on older systems that don't provide $XDG_RUNTIME_DIR, you'll need to think about what properties are important for your use case, and figure out the best way of making a fallback. Carefully creating a user-only-readable temp directory might be one possible strategy.<br><br></div>It would be valuable to collect information on what versions of different distros provide features such as $XDG_RUNTIME_DIR, so that application authors can estimate when it's safe to use them without fallbacks. Something like <a href="http://caniuse.com/">http://caniuse.com/</a> for free desktop programming. If anyone's looking for something to work on, this could be a really neat website and crowdsourcing effort.<br><br></div>Thomas<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 June 2015 at 07:53, Vladimir Kudrya <span dir="ltr"><<a href="mailto:vladimir-csp@yandex.ru" target="_blank">vladimir-csp@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
I wanted to know, what are the valid fallbacks for $XDG_RUNTIME_DIR in case it is not defined, or if there are no systemd components present in the system to manage /run/user/$UID.<br>
Basedir spec only references mandatory premissions for such dir, but lacks examples for fallbacks.<br>
Thank you!<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org" target="_blank">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</blockquote></div><br></div>