[20:27] <xnox> stgraber: so I'm running upstart based session now and there are job conflicts.
[20:28] <xnox> so there is upstart job to start gnome-settings-daemon but also gnome-session is starting an ubuntu session, which in turn also start gnome-settings-daemon
[20:28] <xnox> thus it means that if upstart job is quicker all is good, or in my case
[20:29] <xnox> where gnome-session was quicker, the upstart job was stuck respawning because the upstart's g-s-d could claim the bus name.
[20:29] <stgraber> xnox: right, in that case you need to kill the one from gnome-session
[20:30] <xnox> yeah. I see how you did not want to use a new session name (since nothing would work out of the box)
[20:30] <stgraber> xnox: I had that race happen less than 10% of the time here and there's little we can do in upstart until the desktop team changes gnome-session to stop spawning it
[20:31] <stgraber> yeah, I actually use a different name to trigger the upstart support, but then change the name half-way through xsession to avoid everything blowing up
[20:31] <stgraber> so yeah, no easy way not to have g-s-d spawned
[20:32] <stgraber> and g-s-d doesn't have a --replace or --kill option so I can get the upstart job to cleanup any existing one (as I'm doing with pulseaudio IIRC)
[20:32] <xnox> stgraber: well... =) we can prepend a new XDG_CONFIG_DIRS pointing to /usr/share/upstart/xdg/ where we drop the xdg overrides which disable things that are spawned by gnome-session
[20:32] <xnox> and then gnome-session will notice the override and not spawn g-s-d, yet we keep the same session name
[20:33]  * xnox takes a task to implement this
[20:33] <stgraber> ah, I guess that'd be a reasonable workaround until we switch to upstart for good
[20:33] <xnox> and thus not requiring any changes in the packages.
[20:33] <xnox> stgraber: where is your integration branch?
[20:34] <xnox> also thanks to dbus logs I have a bug to file....
[20:36] <stgraber> xnox: lp:~stgraber/ubuntu/raring/upstart/user-session-ppa
[20:36] <xnox> ok.
[20:37] <xnox> hmm..... ssh agent didn't work...
[20:59]  * xnox tries to find what sets XDG_CONFIG_DIRS and if gnome-session sets & overrides it, I may have a problem in my cunning plan
[21:03] <xnox> /etc/X11/Xsession.d/ awesome =)
[21:08] <xnox> well I'm currently abusing /usr/share/upstart/xdg for disabling. But I guess going in the future we will want /etc/xdg/xdg-ubuntu-upstart/ to be added to the XDG_CONFIG_DIRS such that one can ship both
[21:08] <xnox> an upstart job and a .desktop autostart file
[21:09] <xnox> and then only the upstart job will be used during upstart session.
[21:09] <xnox> not sure how/if/when other DE will switch to upstart managed sessions.
[22:05] <xnox> compiz is being respun by gnome-session
[22:05] <xnox> but i'm not sure where/how we can override /usr/share/gnome/wm-properties/compiz.desktop
[22:05] <xnox> also /me is very confused about hidding jobs it needs type,name,exec to validate plus hidden to hide.
[22:05] <xnox> yet xdg autostart spec says only hidden key + matching file name is needed
[22:05] <xnox> *sigh
[22:06] <xnox> *
[22:28] <stgraber> I think we'll really need to spend a bit more time and just get rid of gnome-session earlier than first planned. That's the only way to get all the benefits and avoid the weird issues we're seeing currently
[22:29] <stgraber> I tried that the other day but for some reason I wasn't getting any of the indicators
[22:29] <stgraber> maybe the recent fixes for dbus and cwd improved that though. I'd have to try it again
[22:29] <stgraber> oh, and we'd need to implement the gnome-session dbus APIs then (for session logout at least)
[22:36] <xnox> hmm... and what about the rest of the /etc/xdg/autostart/*.desktop files shipped by the rest of the packages?
[22:36] <xnox> (i'm hoping not that many)
[22:36] <xnox> and other apps that self-drop ~/.config/autostart/ e.g. google-chrome, shutter and others/
[22:36] <xnox> ?
[22:37] <xnox> upstart-xdg-autostart-bridge?!
[22:37] <stgraber> shouldn't be too hard to have an upstart job spawn those once and forget about them
[22:38] <xnox> or crazy hacks to make gnome-session check up with upstart and not start stuff spawned by upstart or make it ask upstart for a list of things it knowns
[22:38] <xnox> and only spawn the set that upstart didn't know about
[22:38] <xnox> that assumes, of course, matching and stable job names.