<div dir="ltr">My most recent use case is the use of xdg dirs in some shipped .desktop files (eg. skype --dbpath=$XDG_DATA_HOME/skype)</div><div class="gmail_extra"><br clear="all"><div>J. Leclanche</div>
<br><br><div class="gmail_quote">On Mon, Jan 21, 2013 at 3:15 PM, Vincent Untz <span dir="ltr"><<a href="mailto:vuntz@gnome.org" target="_blank">vuntz@gnome.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Le vendredi 18 janvier 2013, à 15:40 +0000, Jerome Leclanche a écrit :<br>
<div class="im">> On Fri, Jan 18, 2013 at 12:08 PM, Vincent Untz <<a href="mailto:vuntz@gnome.org">vuntz@gnome.org</a>> wrote:<br>
><br>
> > Le vendredi 18 janvier 2013, à 22:48 +1100, jupiter a écrit :<br>
</div><div class="im">> > > The current issue is that adding an environment variable such as $HOME<br>
> > > in desktop entry file as following example works with KDE file manager<br>
> > > and Thunar when to click a desktop launcher (copy an application menu<br>
> > > icon to the desktop), but does not work with nautilus, the error was<br>
> > > "Failed to change directory $HOME (No such file or directory)"<br>
> > ><br>
> > > Path=$HOME<br>
> ><br>
> > There's no support for environment variables in the desktop entry spec,<br>
> > and therefore there's no guarantee that this will work on all<br>
> > implementations.<br>
> ><br>
><br>
> We've hit the same issue at Razor a few times. Assuming we can get GNOME to<br>
> implement envvar support in desktop files, would you be opposed to adding<br>
> it to the spec? I really don't think it's good that currently half of the<br>
> implementations can treat the same PATH differently.<br>
<br>
</div>Nope, I wouldn't be opposed to it as long as it's well-defined, that<br>
many people see a use for it and that most desktops are happy with it.<br>
So I guess we need a proper patch and some convincing for some desktops.<br>
<br>
There's the question of backwards compatibility, but I guess not a lot<br>
of desktop files are using $.<br>
<br>
It might also be worth investigating which desktop environments (and<br>
base libraries, such as glib and qt) support this and which ones don't.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers,<br>
<br>
Vincent<br>
<br>
--<br>
Les gens heureux ne sont pas pressés.<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</div></div></blockquote></div><br></div>