<br><br><div class="gmail_quote">2011/7/13 Ozan Türkyılmaz <span dir="ltr"><<a href="mailto:ozan.turkyilmaz@gmail.com">ozan.turkyilmaz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/7/13 Erik Hanson <<a href="mailto:erik@slackbuilds.org">erik@slackbuilds.org</a>>:<br>
<div class="im">> On Tue, 5 Jul 2011 21:59:01 -0500<br>
> Robby Workman <<a href="mailto:rworkman@slackbuilds.org">rworkman@slackbuilds.org</a>> wrote:<br>
><br>
>> > Exec=smplayer %U<br>
>> > Exec=smplayer -add-to-playlist %U<br>
>> ><br>
>> > respectively, which is I believe technically correct but has the<br>
>> > effect of failing to load files with spaces in their names and<br>
>> > unpredictably failing with other files as well when opened with<br>
>> > right mouse click and "Open with..." option or "Enqueue with..."<br>
>> > option. This can be fixed by altering the .desktop files to the<br>
>> > following:<br>
><br>
> Does adding single or double quotes around %U have any effect?<br>
><br>
>> > Exec=smplayer %f<br>
>> > Exec=smplayer -add-to-playlist %f<br>
>> ><br>
>> > which is technically not correct but fixes the problem. Upstream<br>
>> > developer has been more than a little quiet for a while so perhaps<br>
>> > it would be worthwhile patching the source? I personally have<br>
>> > simply made the changes to .desktop files in<br>
>> > $HOME/.local/share/applications but a more definitive change would<br>
>> > be nice :).<br>
><br>
> Seems no one knows what the difference between %U and %f is, or at<br>
> least no one replied when I asked, and I am too lazy to find out.<br>
<br>
</div>%U should be URL and %f should be file itself<font color="#888888"></font><br></blockquote><div><br>This link will explain it fast and easy<br><a href="http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables">http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables</a><br>
<br>%U List of URL<br>%f Single file<br><br>/Nille<br></div></div>