[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Application Setup on Trisquel
From: |
Caleb Herbert |
Subject: |
Re: Application Setup on Trisquel |
Date: |
Tue, 24 Oct 2017 16:44:26 -0700 (PDT) |
> > > 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.
How do I make sure these environment variables are set?