unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: David Lecompte <david.lecompte@metani.info>
To: help-guix@gnu.org
Subject: Initialization of environment variables for guix on foreign distro
Date: Thu, 23 Dec 2021 09:29:40 +0000	[thread overview]
Message-ID: <a71523f675ae311b7b7134b1da1a3b46a14defdf.camel@metani.info> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1199 bytes --]

Hi everyone,

On Trisquel with mate on my laptop, when opening a mate terminal (the
command is just "mate-terminal", no option), all the suitable
environment variables for guix are set.

On Debian with mate on my desktop (I had problems with Trisquel that I
could not solve for one year so I am using Debian), when opening a mate
terminal, the suitable variables for guix are not set.

So I am searching how to fix that on the desktop with Debian.

On both computers, there is /etc/profile.d/guix.sh with the same
contents. On the desktop, "bash -l" sets all the environment variables
properly for guix properly, but I'd like to start programmes installed
by Guix from the mate menu too.

Does guix configure another file to set environment variables properly
or is /etc/profile.d/guix.sh the only one? Is it supposed to be
sufficient to source it via /etc/profile?

If sourcing /etc/profile is supposed to address all cases, what is the
recommended way to have it sourced? (on the laptop, I searched all .*
files in my home directory, none of them is sourcing /etc/profile).
That last question is not guix-specific but any advice is still
welcome.


Thanks,
David.


[-- Attachment #1.2: publickey - david.lecompte@metani.info - 292b3e27.asc --]
[-- Type: application/pgp-keys, Size: 3212 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]

             reply	other threads:[~2021-12-23  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-23  9:29 David Lecompte [this message]
2021-12-24  0:33 ` Initialization of environment variables for guix on foreign distro Thiago Jung Bauermann
2021-12-27 10:15   ` David Lecompte

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a71523f675ae311b7b7134b1da1a3b46a14defdf.camel@metani.info \
    --to=david.lecompte@metani.info \
    --cc=help-guix@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).