Bug#339785: gnome-keybinding-properties: environment not set for apps launched through keybindings

Julien Valroff julien at kirya.net
Thu Nov 1 14:31:12 UTC 2007


Hi,

Le jeudi 01 novembre 2007 à 15:26 +0100, Josselin Mouette a écrit :
> Hi,
> 
> Le lundi 20 août 2007 à 17:20 +0200, Sjoerd Simons a écrit :
> > On Sun, Aug 19, 2007 at 08:48:50PM +0200, Sven Arvidsson wrote:
> > > I haven't looked at this in detail, so I could be wrong, but isn't this
> > > related to this bug recently fixed in Ubuntu?
> > > https://bugs.launchpad.net/ubuntu/+source/control-center/+bug/62163
> > > 
> > > and the upstream bug; http://bugzilla.gnome.org/show_bug.cgi?id=360475
> > 
> > Their ``fix'' is to no longer have the xession.d script, but let the dbus
> > session bus be started by gnome-session. Which is just plain wrong (It's fixing
> > the symptomps not the issues). One of the many reasons for it being wrong is
> > that we can't assume the users X session will contain gnome-session.
> > 
> > Basically assuming magic environment variables are available
> > when started by the dbus session bus is just plain wrong. Starting the bus
> > daemon later in the session just works around this...
> 
> I have checked again, and it seems this whole mess is fixed.
>       * seahorse-agent is started before dbus-daemon so this cannot be a
>         problem;
>       * applications launched by keybindings are now spawned with the
>         correct environment. Don't ask me why; maybe they are directly
>         launched by g-s-d, maybe they are launched by gnome-session, I
>         don't want to know.
> 
> Julien, can you confirm whether things work for you in GNOME 2.20 ?

Unfortunately not.

When launching evolution through thanks to a key binding, seahorse-agent
is not used, whereas it is when launching evolution from the Desktop
icon.

Cheers,
Julien








More information about the pkg-gnome-maintainers mailing list