How can I set enviroment variable before normal session login?


I am using FC3 with Gnome 2.10.  I want to set ESPEAKER from "localhost"
to "hostname:10800" (tcp/ip port socket). But I can't make it work.
After normal session login, I launch gnome-sound-properties, the sound
still goes to hw:0 (onboard audio). I use "cat /proc/[gnome-sound-
properties process id]/enviroment", the $ESPEAKER is still "localhost".
I tested /etc/profile.d/*.sh, /usr/share/gnome/default.session,
~/.bashrc, use gnome-session-properties; Neither of them works.

Any idea about it?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]