Re: change an environment variable in a running gnome session



On Tue, 2005-08-02 at 15:40 +0000, Nate Nielsen wrote:

> 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.

The session bus also provides a solution to the problem in general; you
can use DBus services as a replacement for environment variables.  So
you would change your apps do a method call like
com.example.SomeApp.GetInfo instead of looking in COM_EXAMPLE_APP_INFO.

Attachment: signature.asc
Description: This is a digitally signed message part



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