<div dir="ltr">$XDG_RUNTIME_DIR is what you're looking for, but it's not guaranteed to be set (it really should be, but...)</div><div class="gmail_extra"><br clear="all"><div>J. Leclanche</div>
<br><br><div class="gmail_quote">On Mon, Apr 15, 2013 at 8:29 AM, Stef Bon <span dir="ltr"><<a href="mailto:stefbon@gmail.com" target="_blank">stefbon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm working on a sollutution which creates network access, fuse-workspace.<br>
It's ssimular to gnome vfs, and also based upon a fuse filesystem.<br>
<br>
Supported is access to smb, and browsing the shares is possible through<br>
libsmbclient or cifs. In the latest case fuse-workspace mounts the<br>
remote shares using cifs on top of a browse tree.<br>
<br>
Now right now it mounts the network at a directory set in a<br>
configuration file, and it's a template:<br>
<br>
$HOME/Network<br>
<br>
I want to add the posibility to make it mount at<br>
<br>
/run/user/%UIDNR% (with systemd systems)<br>
<br>
/run/user/%USERNAME% (with upstart systems).<br>
<br>
Is there an environment var or any other easy method to determine this<br>
personal run directory??<br>
<br>
Stef<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">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>