[MPlayer-users] Gmplayer cannot open files

Charles philip Chan cpchan at sympatico.ca
Thu Feb 14 04:19:14 CET 2008


andrew <andrew.david.45 at gmail.com> writes:

> Thanks for your prompt reply Charles (and for the correction to
> 'g'mplayer of the above). I have tried the following combinations:
>
> Exec=gmplayer "%U"
> Exec=gmplayer "%F"
> Exec=gmplayer %F
> Exec=gmplayer %U
>
> and the only one that works with spaces in filenames / pathnames is 

OK, just tested it out for you with Nautilus ane the %U does not work
like you said (I generally don't use any file manager that uses .desktop
files). Any way the correct solution is to not to put either "%U" or
"%F". Here is the default desktop file provided by the mplayer
package from Packman:

---
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=MPlayer
GenericName=Multimedia player
Comment=Multimedia player
Comment[de]=Multimedia-Player
Comment[es]=Reproductor multimedia
Comment[fr]=Lecteur multimedia
Comment[it]=Lettore multimediale
Icon=mplayer
TryExec=gmplayer
Exec=gmplayer
Terminal=false
Categories=GTK;Application;AudioVideo;Audio;Video;Player;TV;
MimeType=application/ogg;application/x-ogg;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/m4a;audio/x-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg;video/x-mpeg2;video/msvideo;video/x-msvideo;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/x-fli;video/x-theora;video/x-matroska;
---

which worked out of the box, but as soon as I put "%U", it doesn't work
anymore. You should report this as a bug to your distro.

Charles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080213/10f46759/attachment.pgp>


More information about the MPlayer-users mailing list