From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Application Setup on Trisquel Date: Thu, 26 Oct 2017 10:52:24 -0700 Message-ID: <87po99g5k7.fsf@gnu.org> References: <1508888666.10298@bluehome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7mKU-0000Lc-6Z for help-guix@gnu.org; Thu, 26 Oct 2017 13:52:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7mKT-0002u0-Fi for help-guix@gnu.org; Thu, 26 Oct 2017 13:52:30 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:38485) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e7mKT-0002t1-8D for help-guix@gnu.org; Thu, 26 Oct 2017 13:52:29 -0400 In-Reply-To: <1508888666.10298@bluehome.net> (Caleb Herbert's message of "Tue, 24 Oct 2017 16:44:26 -0700 (PDT)") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Caleb Herbert Cc: help-guix@gnu.org "Caleb Herbert" skribis: >> > > The manual instructs users on foreign distros to export environment >> > > variables. Doing this in the shell makes the changes temporary. >> > > Where should these changes be made permanent? (It is bad > practice to >> > > put environment variables in .bashrc.) >> > >> > /etc/profile would be the right place. >>=20 >> Is this correct? >>=20 >> # echo 'export GUIX_LOCPATH=3D$HOME/.guix-profile/lib/locale' >>/etc/p >> rofile >> # echo 'export SSL_CERT_DIR=3D"$HOME/.guix-profile/etc/ssl/certs"' >>/ >> etc/profile >> # echo 'export SSL_CERT_FILE=3D"$HOME/.guix-profile/etc/ssl/certs/ca-c >> ertificates.crt"' >>/etc/profile >> # echo 'export GIT_SSL_CAINFO=3D"$SSL_CERT_FILE"' >>/etc/profile >> # echo 'export CURL_CA_BUNDLE=3D"$HOME/.guix-profile/etc/ssl/certs/ca- >> certificates.crt"' >>/etc/profile >> # echo 'source $HOME/.guix-profile/etc/profile' >>/etc/profile > > I had to comment those lines in /etc/profile because Trisquel's > display manager would return me to the login screen after entering my > password. Does ~/.xsession-errors contain hints as to why this happened? > How do I make sure these environment variables are set? For the variables themselves, /etc/profile is a good thing, as discussed above. I=E2=80=99d probably move =E2=80=9Csource $HOME/.guix-profile/etc/profile= =E2=80=9D to ~/.bash_profile, though. But that=E2=80=99s really a shell question more than a Guix question, I thi= nk. HTH! Ludo=E2=80=99.