Date: Thu, 28 Feb 2002 17:19:14 -0500 From: "Paul C. Boyle" <paulcb_mcse@yahoo.com> To: Rickard =?iso-8859-1?q?Borgm=E4ster?= <doktorn@realworld.nu>, freebsd-questions@FreeBSD.ORG Subject: Re: System-wide environment variables Message-ID: <200202282218.RAA14640@alpha.vaxxine.com> In-Reply-To: <20020226030324.4a94cc33.doktorn@realworld.nu> References: <20020226030324.4a94cc33.doktorn@realworld.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202282218.RAA14640>