<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 22/11/2012 14:02, Dmitrijs Ledkovs a
écrit :<br>
</div>
<blockquote
cite="mid:CANBHLUi0bVECv_-OStYR-1+Zsq_VQVfRDdQaSu1tk==zq8Yykw@mail.gmail.com"
type="cite">
<pre wrap="">Strangely enough, currently on my system I have:
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg</pre>
</blockquote>
Why is it strange? We do add "xdg-<session>" to the list to
allow specific entries for flavors which need those<br>
<br>
<blockquote
cite="mid:CANBHLUi0bVECv_-OStYR-1+Zsq_VQVfRDdQaSu1tk==zq8Yykw@mail.gmail.com"
type="cite">
<pre wrap="">
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
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>etc/xdg/autostart<span class="moz-txt-tag">/</span></i>*.desktop files, I can see they are sensitive to
the type of session being run.
</pre>
</blockquote>
Hum, is that really a good idea? Those autostart desktop are already
correctly handled by session managers, I don't see the point of
spending time to write a bridge to replace working code, I would
assume that adding upstart user session wouldn't change anything by
default. Then we can start replacing .desktop entries by upstart
jobs where it makes sense...<br>
<blockquote
cite="mid:CANBHLUi0bVECv_-OStYR-1+Zsq_VQVfRDdQaSu1tk==zq8Yykw@mail.gmail.com"
type="cite">
<pre wrap="">
In that case, I would even suggest /etc/xdg/autostart.upstart.
I don't think adding <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>user<span class="moz-txt-tag">/</span></i> makes any sense, since all XDG_*
directories are for per-user locations/customisations.</pre>
</blockquote>
The name is a bit verbose /etc/xdg/upstart or /etc/xdg/upstart-user
should be fine there<br>
<br>
Cheers,<br>
Sebastien Bacher<br>
</body>
</html>