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

Sjoerd Simons sjoerd at spring.luon.net
Mon May 28 10:30:34 UTC 2007


On Mon, May 28, 2007 at 12:06:14PM +0200, Julien Valroff wrote:
> Le lundi 28 mai 2007 à 11:57 +0200, Sjoerd Simons a écrit :
> > On Mon, May 28, 2007 at 10:06:21AM +0200, Julien Valroff wrote:
> > > Le dimanche 27 mai 2007 à 21:58 +0200, Sven Arvidsson a écrit :
> > > > On Sun, 2007-05-13 at 18:15 +0200, Julien Valroff wrote:
> > > > > This bug re-appeared in the mean time, I am not able to say why and
> > > > > when.
> > > > > 
> > > > > However, evolution is now able to send signed messages (without using
> > > > > seahorse-agent), which might explain why I thought the issue was solved.
> > > > > 
> > > > > I thus repoen the bug with the current unstable version.
> > > > 
> > > > Do you have an easy way to reproduce this? 
> > > 
> > > Yes, simply launch evolution through a keybinding defined in
> > > gnome-keybinding-properties and try and send a PGP signed message.
> > > Evolution PGP window appears, not seahorse-agent window.
> > 
> > This is because evolution because gnome-settings-deamon is started by dbus,
> > which doesn't have the env stuff as it's started before gnome-session. Thus
> > when gnome-settings-daemon starts evolution, it also misses the env variables.
> 
> That's what I supposed, but is there any way to have things work
> correctly?
> Further more, I see seahorse-agent is now started by dbus:
>   /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute x-session-manager
> 
> I guess this can help?

Good point. If it was the other way around stuff would just work.. So either
seahorses xsession should be later  or dbus-launch's should be earlier.

I guess moving dbus-launch from 75  to 60 and seahorse from 60 to  65 would be
the nicest solution..

  Sjoerd
-- 
For fast-acting relief, try slowing down.





More information about the pkg-gnome-maintainers mailing list