Re: Set default video application -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 August 2013 23:42, Suvayu Ali <fatkasuvayu+linux@xxxxxxxxx> wrote:
On Mon, Aug 19, 2013 at 07:54:05PM +0200, poma wrote:
> On 19.08.2013 17:24, Suvayu Ali wrote:
> >
> > As you can see, you have to repeat this for all file types.  It would be
> > simpler if you could just say 'video/*', but I don't think you can.
> >
> > If someone knows an easier way to add a class of files in one go, I
> > would be very interested to know.
> >
> > Hope this helps,
> >

 
[....]
However if you tell me mimeapps.list does support globs, I'll shut up.

Cheers,

--
Suvayu

Open source is the future. It sets us free.


You can get a list to put in mimeapps.list under [Added Associations] using something like this hack (remove the last "| grep video" to get a list of all the mimetypes vlc supports):

$ grep MimeType /usr/share/applications/vlc.desktop | perl -p -e 's/MimeType=//' | perl -p -e 's/;/=vlc.desktop;\n/g' | grep video

video/dv=vlc.desktop;
video/mpeg=vlc.desktop;
video/x-mpeg=vlc.desktop;
video/msvideo=vlc.desktop;
video/quicktime=vlc.desktop;
video/x-anim=vlc.desktop;
video/x-avi=vlc.desktop;
video/x-ms-asf=vlc.desktop;
video/x-ms-wmv=vlc.desktop;
video/x-msvideo=vlc.desktop;
video/x-nsv=vlc.desktop;
video/x-flc=vlc.desktop;
video/x-fli=vlc.desktop;
video/x-flv=vlc.desktop;
video/vnd.rn-realvideo=vlc.desktop;
video/mp4=vlc.desktop;
video/mp4v-es=vlc.desktop;
video/mp2t=vlc.desktop;
video/x-ogm+ogg=vlc.desktop;
video/x-matroska=vlc.desktop;
video/webm=vlc.desktop;
x-content/video-vcd=vlc.desktop;
x-content/video-svcd=vlc.desktop;
x-content/video-dvd=vlc.desktop;
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux