=== JanC_ is now known as JanC [20:27] stgraber: so I'm running upstart based session now and there are job conflicts. [20:28] 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] thus it means that if upstart job is quicker all is good, or in my case [20:29] 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] xnox: right, in that case you need to kill the one from gnome-session [20:30] yeah. I see how you did not want to use a new session name (since nothing would work out of the box) [20:30] 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] 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] so yeah, no easy way not to have g-s-d spawned [20:32] 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] 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] 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] ah, I guess that'd be a reasonable workaround until we switch to upstart for good [20:33] and thus not requiring any changes in the packages. [20:33] stgraber: where is your integration branch? [20:34] also thanks to dbus logs I have a bug to file.... [20:36] xnox: lp:~stgraber/ubuntu/raring/upstart/user-session-ppa [20:36] ok. [20:37] 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] /etc/X11/Xsession.d/ awesome =) [21:08] 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] an upstart job and a .desktop autostart file [21:09] and then only the upstart job will be used during upstart session. [21:09] not sure how/if/when other DE will switch to upstart managed sessions. [22:05] compiz is being respun by gnome-session [22:05] but i'm not sure where/how we can override /usr/share/gnome/wm-properties/compiz.desktop [22:05] also /me is very confused about hidding jobs it needs type,name,exec to validate plus hidden to hide. [22:05] yet xdg autostart spec says only hidden key + matching file name is needed [22:05] *sigh [22:06] * [22:28] 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] I tried that the other day but for some reason I wasn't getting any of the indicators [22:29] maybe the recent fixes for dbus and cwd improved that though. I'd have to try it again [22:29] oh, and we'd need to implement the gnome-session dbus APIs then (for session logout at least) [22:36] hmm... and what about the rest of the /etc/xdg/autostart/*.desktop files shipped by the rest of the packages? [22:36] (i'm hoping not that many) [22:36] and other apps that self-drop ~/.config/autostart/ e.g. google-chrome, shutter and others/ [22:36] ? [22:37] upstart-xdg-autostart-bridge?! [22:37] shouldn't be too hard to have an upstart job spawn those once and forget about them [22:38] 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] and only spawn the set that upstart didn't know about [22:38] that assumes, of course, matching and stable job names.