On 22 November 2012 11:11, James Hunt <[email protected]> wrote: > Hi Robie, > > On 22/11/12 10:24, Robie Basak wrote: >> A minor point, speaking as an uninformed observer. >> >>> /etc/xdg/init >> >> These files will be Upstart-specific, right? What if XDG want to use >> /etc/xdg/init in the future? Would /etc/xdg/upstart avoid a potential >> future namespace collision here? >> >> I understand that /etc/xdg/init would be analogous to /etc/init, but do >> we really own the /etc/xdg namespace like we do /etc? And you're using >> $HOME/.config/upstart/ so there wouldn't be too much of an inconsistency >> there. >> > Agreed. I've changed the spec to reference /etc/xdg/upstart/ although I wonder > if we should make this /etc/xdg/upstart/user/ (*) to make it clear the common > jobs in that directory are only for Upstart running as a non-priv Session > Init. >
Strangely enough, currently on my system I have: XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg There already is $XDG_CONFIG_DIRS/autostart and we kind of trying to make upstart control those. [*] Will there be an xdg-autostart-bridge for those? And then gradually replace those with upstart jobs on as-needed basis? Note that looking more at the /etc/xdg/autostart/*.desktop files, I can see they are sensitive to the type of session being run. In that case, I would even suggest /etc/xdg/autostart.upstart. I don't think adding /user/ makes any sense, since all XDG_* directories are for per-user locations/customisations. Regards, Dmitrijs. [*] http://standards.freedesktop.org/autostart-spec/autostart-spec-latest.html -- upstart-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
