[MPlayer-dev-eng] [PATCH] Fix for mplayer desktop file

Diego Biurrun diego at biurrun.de
Thu Mar 27 02:19:22 CET 2008


On Thu, Mar 27, 2008 at 11:45:23AM +1100, andrew wrote:
> 
> The mplayer desktop file has a problem where if one attempts to open a
> file using gmplayer with: 
> 
> 1.spaces in the filename
> 2.spaces in the path to the file
> 
> the file will not open. This small patch addresses this problem.

Hmmmm

> --- etc/mplayer.desktop	(revision 26271)
> +++ etc/mplayer.desktop	(working copy)
> @@ -10,7 +10,7 @@
>  TryExec=gmplayer
> -Exec=gmplayer %U
> +Exec=gmplayer %F

According to the standard these are not the same thing:
http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html

%F  A list of files. Use for apps that can open several local files at
    once. Each file is passed as a separate argument to the executable
    program.

%U  A list of URLs. Each URL is passed as a separate argument to the
    executable program. Local files may either be passed as file: URLs
    or as file path.

Does gmplayer still open URLs after you make the change?

Diego



More information about the MPlayer-dev-eng mailing list