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