Re: Set default video application -

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

 



On 19/08/13 11:24, Suvayu Ali wrote:
On Mon, Aug 19, 2013 at 10:08:19AM -0400, Bob Goodwin ~ Zuni, Virginia, USA wrote:
How xdg-mime would be used to change this is not obvious to me after reading
the man page.
It is actually not trivial!  I do not think the mimetype argument to
xdg-mime takes a glob.  This makes it more difficult since now you have
to set the default for each file type.  Here is a simple example:

To find out the mimetype of a file:
   $ xdg-mime query filetype Wait\ until\ dark\ -\ Audrey\ Hepburn.avi
   video/x-msvideo

Now you can set the default like this:
   $ xdg-mime default vlc.desktop video/x-msvideo

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,


Now I see that XFCE Settings has a "MIME Type Editor" with which it appears you can set the desired applications, for each video format in this case. I did not know what it was for until now. So I guess I learned something from all this.

Thanks,

Bob

--

http://www.qrz.com/db/W2BOD

box10   Fedora-19 Linux/XFCE

--
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