From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: Andrew Tropin <andrew@trop.in>
Cc: ludo@gnu.org, antero@mailbox.org, 59983@debbugs.gnu.org
Subject: [bug#59983] [PATCH] home: Let user configure XDG base directories.
Date: Tue, 13 Dec 2022 15:53:23 +0000 [thread overview]
Message-ID: <87y1rbthce.fsf@mailbox.org> (raw)
In-Reply-To: <87cz8o9bgz.fsf@trop.in>
Andrew Tropin <andrew@trop.in> writes:
> There is no way to understand upfront if directory containing
> XDG_RUNTIME_DIR is writable and this is why it's a good idea to delegate
> initialization of it to external thing and never try to create it here,
> even if it has non-default value.
Thank you for the snippet, that's a much better way of fixing my issue.
I still think guix home should (by default) be able to use all its
features without the requirement of having external programs installed.
For example, suppose you have a server that you want to set up your home
environment on, for when you login to do sysadmin tasks. That server
wouldn't have %desktop-services (elogind), nor would it have a custom
greeter like greetd. So XDG_RUNTIME_DIR will be unset.
If XDG_RUNTIME_DIR does not exist, can we make a fallback path to have
guix home put the shepherd socket and on-first-login-executed flag file
in ~/.local/var/run (or somewhere else writable) instead?
next prev parent reply other threads:[~2022-12-13 16:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 3:00 [bug#59983] [PATCH] home: Let user configure XDG base directories Antero Mejr via Guix-patches via
2022-12-13 4:25 ` Andrew Tropin
2022-12-13 15:53 ` Antero Mejr via Guix-patches via [this message]
2023-08-07 6:57 ` Andrew Tropin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1rbthce.fsf@mailbox.org \
--to=guix-patches@gnu.org \
--cc=59983@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=antero@mailbox.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.