From owner-freebsd-questions Thu Feb 28 14:18:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from alpha.vaxxine.com (alpha.vaxxine.com [209.5.212.5]) by hub.freebsd.org (Postfix) with ESMTP id 7A67037B402 for ; Thu, 28 Feb 2002 14:18:14 -0800 (PST) Received: from there (ppp304.digi-t3.st-cath.niagara.net [209.5.218.50]) by alpha.vaxxine.com (8.9.2/8.9.3) with SMTP id RAA14640; Thu, 28 Feb 2002 17:18:04 -0500 (EST) Message-Id: <200202282218.RAA14640@alpha.vaxxine.com> Content-Type: text/plain; charset="iso-8859-1" From: "Paul C. Boyle" To: Rickard =?iso-8859-1?q?Borgm=E4ster?= , freebsd-questions@FreeBSD.ORG Subject: Re: System-wide environment variables Date: Thu, 28 Feb 2002 17:19:14 -0500 X-Mailer: KMail [version 1.3] References: <20020226030324.4a94cc33.doktorn@realworld.nu> In-Reply-To: <20020226030324.4a94cc33.doktorn@realworld.nu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On February 25, 2002 09:03 pm, you wrote: > I need to set these variables on my system: > > export > PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X1 > 1R6/bin export PS1=$'[ \\u@\\h:\\w ] \\$ ' > export GLIB_CONFIG=/usr/local/bin/glib12-config > export GTK_CONFIG=/usr/X11R6/bin/gtk12-config > export IMLIB_CONFIG=/usr/X11R6/bin/imlib-config > > export LC_MESSAGES=en_US.ISO_8859-1 > export LC_COLLATE=sv_SE.ISO_8859-1 > export LC_CTYPE=sv_SE.ISO_8859-1 > export LC_MONETARY=sv_SE.ISO_8859-1 > export LC_NUMERIC=sv_SE.ISO_8859-1 > export LC_TIME=en_US.ISO_8859-1 > > Right now I have them put into my .bashrc, which isn't really that > good. It means that I have to launch all my programs from a terminal > get these variables set. > > I cannot use a .xinitrc since gdm bypasses this (at least I think). > > Where should i put this? Into rc.conf.local or something maybe? .bash_profile is used at login time .bashrc is used by sub shells .bash_logout is executed when the login shell exits check out Environment variables in KDM (KDE2.2.2)... where do I put them? in this mail list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message