User dir in /run is set in env var?
Jerome Leclanche
adys.wh at gmail.com
Mon Apr 15 03:19:58 PDT 2013
$XDG_RUNTIME_DIR is what you're looking for, but it's not guaranteed to be
set (it really should be, but...)
J. Leclanche
On Mon, Apr 15, 2013 at 8:29 AM, Stef Bon <stefbon at gmail.com> wrote:
> Hi,
>
> I'm working on a sollutution which creates network access, fuse-workspace.
> It's ssimular to gnome vfs, and also based upon a fuse filesystem.
>
> Supported is access to smb, and browsing the shares is possible through
> libsmbclient or cifs. In the latest case fuse-workspace mounts the
> remote shares using cifs on top of a browse tree.
>
> Now right now it mounts the network at a directory set in a
> configuration file, and it's a template:
>
> $HOME/Network
>
> I want to add the posibility to make it mount at
>
> /run/user/%UIDNR% (with systemd systems)
>
> /run/user/%USERNAME% (with upstart systems).
>
> Is there an environment var or any other easy method to determine this
> personal run directory??
>
> Stef
> _______________________________________________
> xdg mailing list
> xdg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xdg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xdg/attachments/20130415/cbf910d3/attachment.html>
More information about the xdg
mailing list