红联Linux门户
Linux帮助

打开mplayer的时候,终端也打开了

发布时间:2009-09-07 10:21:47来源:红联作者:yqw1122
打开mplyaer的时候,终端也打开了
怎么解决阿?看着终端打开了,感觉碍事、、、、
文章评论

共有 4 条评论

  1. wangyu 于 2009-09-07 13:05:58发表:

    呵呵,学点经验

  2. xiazhouquan 于 2009-09-07 12:48:37发表:

    受教咯

  3. wodlosc 于 2009-09-07 12:41:58发表:

    2# yqw1122


    受教了

  4. yqw1122 于 2009-09-07 11:04:55发表:

    [i=s] 本帖最后由 yqw1122 于 2009-9-20 22:39 编辑 [/i]

    刚刚才解决问题了
    把解决方法写下来,共享
    首先申明的是我的mplayer是手动安装的,不是用更新源直接安装的,否则路径有所不同
    #cd /usr/local/share/applications
    #ls
    #mimeinfo.cache mplayer.desktop
    修改mplayer.desktop
    我的mplayerdesltop的内容是
    [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 multimédia
    Comment[it]=Lettore multimediale
    Icon=mplayer.xpm
    TryExec=gmplayer
    Exec=gmplayer %f
    Terminal=true
    Categories=GTK;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;

    只要把Terminal=true中的true改成false就可以了

    ok,以上就是我的解决办法