From owner-freebsd-questions Mon Feb 25 18: 3:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from studsboll.realworld.nu (a63.flamman.student.liu.se [130.236.218.63]) by hub.freebsd.org (Postfix) with ESMTP id 58DD737B404 for ; Mon, 25 Feb 2002 18:03:26 -0800 (PST) Received: from studsboll.realworld.nu (localhost [127.0.0.1]) by studsboll.realworld.nu (8.11.3/8.11.3) with SMTP id g1Q23Oh31691 for ; Tue, 26 Feb 2002 03:03:24 +0100 (CET) (envelope-from doktorn@realworld.nu) Date: Tue, 26 Feb 2002 03:03:24 +0100 From: Rickard Borgmäster To: freebsd-questions@freebsd.org Subject: System-wide environment variables Message-Id: <20020226030324.4a94cc33.doktorn@realworld.nu> X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386-unknown-freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 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 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? -- Rickard .--. .--. .----------------------------------------. | | | | .-. | Rickard Borgmäster | | | | |/ / | doktorn@sub.nu | .-^ | .--. | < | http://doktorn.sub.nu/ | ( o | ( () ) | |\ \ `----------------------------------------' `-----' `--' `--' `--' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message