Decoupling gnome-keyring initialization from GNOME compatibility mode

Guido Berhoerster gber at
Mon Sep 26 14:54:39 CEST 2011

* Brian J. Tarricone <brian at> [2011-09-26 09:59]:
> > The autostart files you see there are meaningless for Xfce even
> > in GNOME compatibility mode, they rely on
> > X-GNOME-Autostart-Phase=Initialization and a DBus interface in
> > gnome-session that allows gnome-keyring to set environment
> > variables for the session.
> > Starting gnome-keyring in Xfce works differently and does not
> > make use of those autostart files.
> Yeah, gnome-keyring init isn't so great in Xfce right now; kinda
> annoys me too.  I'm not in the best position right now to be
> committing to coding anything -- though I made a resolution with
> myself last week to get back into things (damn, it's been almost 2
> years) -- but I'd be an advocate for *minimally* supporting
> X-GNOME-Autostart-Phase (just "Initialization" only for now), and
> adding the env var-related DBus APIs to xfce4-session.
> XFSM already has the notion of priority groups (via the old
> GsmPriority SM property), so it might be as simple as digging in
> autostart, finding Initialization-phase apps, and sticking those in a
> higher prio group than anything else.  Adding the dbus interfaces
> should be pretty trivial.
> Guido, if you want to open a feature request on and
> assign it to me, I'll try to get to it... before the end of time.

Sure, that'd be great, I'll file an RFE later (there is already one
downstream at

However as a first step would it be acceptable to decouple the
current gnome-keyring initialization code from GNOME
compatibility mode and add an UI option to allow the use of
gnome-keyring without enabling GNOME compatibility mode (the
latter could then implicitly enable gnome-keyring
The background is that people seem to be interested in
running gnome-keyring but enabling GNOME compatibility mode
has the side effect of starting lots of unwanted stuff (e.g.
gnome-setting-daemon) as a side effect.
If this sounds acceptable I'd be willing to take care of that.
Guido Berhoerster

More information about the Xfce4-dev mailing list