Re: [gentoo-user] /etc/env.d help

2005-12-11 Thread Grant
> > Thank you, that seems to have worked.  What's up with the naming
> > convention of those /etc/env.d/ files though?
>
> They are parsed in alphabetical order, so put your own settings in higher
> numbered files to override the lower numbered files. The rest of the name
> indicates the content.
>
>
> --
> Neil Bothwick

Perfect, thanks Neil.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/env.d help

2005-12-11 Thread Neil Bothwick
On Sun, 11 Dec 2005 09:30:20 -0800, Grant wrote:

> Thank you, that seems to have worked.  What's up with the naming
> convention of those /etc/env.d/ files though?

They are parsed in alphabetical order, so put your own settings in higher
numbered files to override the lower numbered files. The rest of the name
indicates the content.


-- 
Neil Bothwick

There's an old proverb that says just about whatever you want it to


signature.asc
Description: PGP signature


Re: [gentoo-user] /etc/env.d help

2005-12-11 Thread Grant
> 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.

Thank you, that seems to have worked.  What's up with the naming
convention of those /etc/env.d/ files though?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/env.d help

2005-12-10 Thread Francesco Riosa
Grant wrote:
>> Grant wrote:
>> 
>>> Can someone tell me how to use /etc/env.d
>>> properly?
>>>
>>>   
>> # env-update
>> 
then

#source /etc/profile

then launch mozilla from the shell
>> Regards,
>>
>> --
>> Norberto Bensa
>> 
>
> Hi Noberto,
>
> That doesn't seem to do it either.  Firefox still crashes from Flash
> unless I put the export line in /usr/bin/firefox.
>
> - Grant
>
>   

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/env.d help

2005-12-10 Thread Holly Bostick
Grant schreef:

> That doesn't seem to do it either.  Firefox still crashes from Flash 
> unless I put the export line in /usr/bin/firefox.
> 

Why don't you just alias it, then (until such time as you figure out
what's going wrong and how to adjust)?

In ~/.bashrc

alias firefox="export XLIB_SKIP_ARGB_VISUALS=1 firefox"

save, source ~/.bashrc in a term and you're done (when you run the
command 'firefox' the alias will run, exporting the variable before
running the binary).

Shell aliases are extremely cool things, especially since I don't myself
have time or interest in d**king around with stuff like this when I'm in
the middle of something (trying to look something up on the Web, for
example, on what turns out to be a Flash site). If there's a hack,
implement it, and then d**k around with it when you have time and energy
to concentrate, that's what I say.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/env.d help

2005-12-10 Thread Catalin Trifu
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



Re: [gentoo-user] /etc/env.d help

2005-12-10 Thread Grant
> Grant wrote:
> > Can someone tell me how to use /etc/env.d
> > properly?
> >
>
> # env-update
>
> Regards,
>
> --
> Norberto Bensa

Hi Noberto,

That doesn't seem to do it either.  Firefox still crashes from Flash
unless I put the export line in /usr/bin/firefox.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/env.d help

2005-12-09 Thread Norberto Bensa
Grant wrote:
> Can someone tell me how to use /etc/env.d
> properly?
>

# env-update

Regards,

-- 
Norberto Bensa
4544-9692
Ciudad de Buenos Aires, Argentina
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/env.d help

2005-12-09 Thread Grant
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