help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Setup on Trisquel


From: Ludovic Courtès
Subject: Re: Application Setup on Trisquel
Date: Thu, 26 Oct 2017 10:52:24 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

"Caleb Herbert" <address@hidden> 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.
>> 
>> Is this correct?
>> 
>> # echo 'export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale' >>/etc/p
>> rofile
>> # echo 'export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"' >>/
>> etc/profile
>> # echo 'export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-c
>> ertificates.crt"' >>/etc/profile
>> # echo 'export GIT_SSL_CAINFO="$SSL_CERT_FILE"' >>/etc/profile
>> # echo 'export CURL_CA_BUNDLE="$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’d probably move “source $HOME/.guix-profile/etc/profile” to
~/.bash_profile, though.

But that’s really a shell question more than a Guix question, I think.

HTH!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]