From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1El0nx-0000dD-9B for garchives@archives.gentoo.org; Sat, 10 Dec 2005 09:14:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBA9DA4Z010738; Sat, 10 Dec 2005 09:13:10 GMT Received: from mail.singer.de (riad.esolut.de [62.208.122.137]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBA95eKF004312 for ; Sat, 10 Dec 2005 09:05:40 GMT Received: from [192.168.254.2] (ns.sky-net.ro [193.231.76.98]) by mail.singer.de (Postfix) with ESMTP id E0824522C6 for ; Sat, 10 Dec 2005 10:05:39 +0100 (CET) Message-ID: <439A9A58.1050502@isp-software.de> Date: Sat, 10 Dec 2005 11:05:28 +0200 From: Catalin Trifu Organization: ISP Software GmbH User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051027) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /etc/env.d help References: <49bf44f10512092018l549b622en86592a73e79d2b80@mail.gmail.com> In-Reply-To: <49bf44f10512092018l549b622en86592a73e79d2b80@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 88f9cb22-818e-4c63-9b15-032db1b7aa1c X-Archives-Hash: 86fd9f6776537a54b13c36f996b26bd8 Hi, You don't write export VAR_NAME in env.d. In the /etc/env.d u only write VAR_NAME="some value" Then run env-update && source /etc/profile In your particular case: add in /etc/env.d/90local and not in /etc/env.d/10MozillaFirefox (this one might get overwritten with an upgrade): $ vim /etc/env.d/90local XLIB_SKIP_ARGB_VISUALS=1 $ env-update && source /etc/profile $ firefox U have to restart u'r X session or start firefox from the shell to "see" the new environment. Hope it helps, C. Grant wrote: >Hello, this document: > >http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency > >directs me to add the following: > >export XLIB_SKIP_ARGB_VISUALS=1 > >to a file under '/etc/env.d/' to keep flash from crashing firefox. I >tried adding it to: > >/etc/env.d/10MozillaFirefox > >which already contains: > >LDPATH=/usr/lib/mozilla-firefox > >but it does not seem to work. I can get it to work by adding the >appropriate line to /usr/bin/firefox, but that is overwritten with a >new firefox emerge. Can someone tell me how to use /etc/env.d >properly? > >- Grant > > > -- gentoo-user@gentoo.org mailing list