[Slackbuilds-users] SMPlayer desktop file

Erik Hanson erik at slackbuilds.org
Tue Jul 12 22:23:34 UTC 2011

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.

> Erik,
> Thoughts on this?

I have UMPlayer waiting for pending/ to clear a bit... It should
probably replace SMPlayer. No idea if it actually addresses the above
issue though.

Erik Hanson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20110712/13d86678/attachment.asc>

More information about the SlackBuilds-users mailing list