[Slackbuilds-users] SMPlayer desktop file

Ozan Türkyılmaz ozan.turkyilmaz at gmail.com
Wed Jul 13 02:14:32 UTC 2011


2011/7/13 Erik Hanson <erik at slackbuilds.org>:
> On Tue, 5 Jul 2011 21:59:01 -0500
> Robby Workman <rworkman at slackbuilds.org> wrote:
>
>> > Exec=smplayer %U
>> > Exec=smplayer -add-to-playlist %U
>> >
>> > respectively, which is I believe technically correct but has the
>> > effect of failing to load files with spaces in their names and
>> > unpredictably failing with other files as well when opened with
>> > right mouse click and "Open with..." option or "Enqueue with..."
>> > option. This can be fixed by altering the .desktop files to the
>> > following:
>
> Does adding single or double quotes around %U have any effect?
>
>> > Exec=smplayer %f
>> > Exec=smplayer -add-to-playlist %f
>> >
>> > which is technically not correct but fixes the problem. Upstream
>> > developer has been more than a little quiet for a while so perhaps
>> > it would be worthwhile patching the source? I personally have
>> > simply made the changes to .desktop files in
>> > $HOME/.local/share/applications but a more definitive change would
>> > be nice :).
>
> Seems no one knows what the difference between %U and %f is, or at
> least no one replied when I asked, and I am too lazy to find out.

%U should be URL and %f should be file itself


-- 
Ozan, BSc, BEng


More information about the SlackBuilds-users mailing list