当我们在将媒体文件挂接为movie  player (mplayer)默认打开方式时经常会提示文件无法找到等错误信息。
    
    
     在其中的中文部分其实是通过url转码为用编码了。在这种情况下我们无法打开相关媒体文件。
    
     原因可能是:mplayer的url解析写的不完善导致的,那么我们可以换一种打开方案。
    
     在~/.local/share/applications 文件夹中将mplayer.desktop其中的信息修改一下。 
  
 [
      
      
        Desktop Entry
      
      
        ]
      
        [
      
      
        Desktop Entry
      
      
        ]
      
      
         Categories
      
      
        =
      
      
        GTK
      
      
        ;
      
      
        AudioVideo;Audio;Video;Player;TV;
         Categories
      
      
        =
      
      
        GTK
      
      
        ;
      
      
        AudioVideo;Audio;Video;Player;TV;
      
      
         Comment
      
      
        =
      
      
        Multimedia player
      
      
        Comment
      
      
        =
      
      
        Multimedia player
         Comment
      
      
        [
      
      
        de
      
      
        ]
      
      
        =
      
      
        Multimedia-Player
         Comment
      
      
        [
      
      
        de
      
      
        ]
      
      
        =
      
      
        Multimedia-Player
         Comment
      
      
        [
      
      
        es
      
      
        ]
      
      
        =
      
      
        Reproductor multimedia
         Comment
      
      
        [
      
      
        es
      
      
        ]
      
      
        =
      
      
        Reproductor multimedia
         Comment
      
      
        [
      
      
        fr
      
      
        ]
      
      
        =
      
      
        Lecteur multimédia
         Comment
      
      
        [
      
      
        fr
      
      
        ]
      
      
        =
      
      
        Lecteur multimédia
         Comment
      
      
        [
      
      
        it
      
      
        ]
      
      
        =
      
      
        Lettore multimediale
         Comment
      
      
        [
      
      
        it
      
      
        ]
      
      
        =
      
      
        Lettore multimediale
         Comment
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz multimediów
         Comment
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz multimediów
         Encoding
      
      
        =
      
      
        UTF-
      
      
        8
         Encoding
      
      
        =
      
      
        UTF-
      
      
        8
      
      
         Exec
      
      
        =
      
      
        aoss gmplayer %f
         Exec
      
      
        =
      
      
        aoss gmplayer %f
         GenericName
      
      
        =
      
      
        Multimedia player
         GenericName
      
      
        =
      
      
        Multimedia player
         GenericName
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz filmów
         GenericName
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz filmów
         Icon
      
      
        =
      
      
        mplayer.xpm
         Icon
      
      
        =
      
      
        mplayer.xpm
         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;
         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;
      
      
         Name
      
      
        =
      
      
        MPlayer Movie Player
      
      
        Name
      
      
        =
      
      
        MPlayer Movie Player
         Name
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz filmów MPlayer
         Name
      
      
        [
      
      
        pl
      
      
        ]
      
      
        =
      
      
        Odtwarzacz filmów MPlayer
         NoDisplay
      
      
        =
      
      
        false
         NoDisplay
      
      
        =
      
      
        false
         Terminal
      
      
        =
      
      
        false
         Terminal
      
      
        =
      
      
        false
         TryExec
      
      
        =
      
      
        aoss gmplayer
         TryExec
      
      
        =
      
      
        aoss gmplayer
         Type
      
      
        =
      
      
        Application
         Type
      
      
        =
      
      
        Application
      
    
    
     将其中的 
    
      exec=gmplayer %U 改为 exec=gmplayer %f 即可.由于我的音频输出问题,我将oss输出转化为alsa音频输出,所以在前面加上了aoss
      
      
       从中我们了解到文件详细的挂载信息和相关修改方法。主要是要学习linux系统可爱的架构理念,将一个个程式割裂开来,方便了我们个性化的配置。 
    
  


 
					 
					