Re: change an environment variable in a running gnome session
- From: Nate Nielsen <nielsen-list memberwebs com>
- To: Federico Mena Quintero <federico ximian com>
- Cc: Fabio Rafael da Rosa <rafael f2r gmail com>, desktop-devel-list gnome org
- Subject: Re: change an environment variable in a running gnome session
- Date: Tue, 2 Aug 2005 15:40:09 +0000 (GMT)
Federico Mena Quintero wrote:
> On Wed, 2005-07-27 at 12:18 -0300, Fabio Rafael da Rosa wrote:
> Short answer: You can't. Unix doesn't have a way to propagate changes
> in environment variables.
>
> Long answer: what exactly are you trying to do? There may be a way
> within GNOME to do it.
We run into the same problem with seahorse and running an agent for GPG.
It needs an environment variable set in the distribution but short of
getting distros to set it on login, or asking users to go muck with
their init scripts, there's really no way to set it.
DBUS solves this by setting the environment variables and then having it
launch the session. However this really only works for one app per
desktop, and again requires that distros get in on the environment
variable action.
Cheers,
Nate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]