* [gentoo-user] /etc/env.d help
@ 2005-12-10 4:18 Grant
2005-12-10 5:28 ` Norberto Bensa
2005-12-10 9:05 ` Catalin Trifu
0 siblings, 2 replies; 9+ messages in thread
From: Grant @ 2005-12-10 4:18 UTC (permalink / raw
To: Gentoo mailing list
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 4:18 [gentoo-user] /etc/env.d help Grant
@ 2005-12-10 5:28 ` Norberto Bensa
2005-12-10 8:04 ` Grant
2005-12-10 9:05 ` Catalin Trifu
1 sibling, 1 reply; 9+ messages in thread
From: Norberto Bensa @ 2005-12-10 5:28 UTC (permalink / raw
To: gentoo-user; +Cc: Grant
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 5:28 ` Norberto Bensa
@ 2005-12-10 8:04 ` Grant
2005-12-10 11:29 ` Holly Bostick
2005-12-10 12:10 ` Francesco Riosa
0 siblings, 2 replies; 9+ messages in thread
From: Grant @ 2005-12-10 8:04 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 8:04 ` Grant
@ 2005-12-10 11:29 ` Holly Bostick
2005-12-10 12:10 ` Francesco Riosa
1 sibling, 0 replies; 9+ messages in thread
From: Holly Bostick @ 2005-12-10 11:29 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 8:04 ` Grant
2005-12-10 11:29 ` Holly Bostick
@ 2005-12-10 12:10 ` Francesco Riosa
1 sibling, 0 replies; 9+ messages in thread
From: Francesco Riosa @ 2005-12-10 12:10 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 4:18 [gentoo-user] /etc/env.d help Grant
2005-12-10 5:28 ` Norberto Bensa
@ 2005-12-10 9:05 ` Catalin Trifu
2005-12-11 17:30 ` Grant
1 sibling, 1 reply; 9+ messages in thread
From: Catalin Trifu @ 2005-12-10 9:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-10 9:05 ` Catalin Trifu
@ 2005-12-11 17:30 ` Grant
2005-12-11 18:05 ` Neil Bothwick
0 siblings, 1 reply; 9+ messages in thread
From: Grant @ 2005-12-11 17:30 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-11 17:30 ` Grant
@ 2005-12-11 18:05 ` Neil Bothwick
2005-12-11 21:46 ` Grant
0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2005-12-11 18:05 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 440 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] /etc/env.d help
2005-12-11 18:05 ` Neil Bothwick
@ 2005-12-11 21:46 ` Grant
0 siblings, 0 replies; 9+ messages in thread
From: Grant @ 2005-12-11 21:46 UTC (permalink / raw
To: gentoo-user
> > 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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-12-11 21:55 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-10 4:18 [gentoo-user] /etc/env.d help Grant
2005-12-10 5:28 ` Norberto Bensa
2005-12-10 8:04 ` Grant
2005-12-10 11:29 ` Holly Bostick
2005-12-10 12:10 ` Francesco Riosa
2005-12-10 9:05 ` Catalin Trifu
2005-12-11 17:30 ` Grant
2005-12-11 18:05 ` Neil Bothwick
2005-12-11 21:46 ` Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox