Re: Set default video application -

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

 



On 19.08.2013 17: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,
> 

Everyone is free to exercise their script-fu on
~/.local/share/applications/mimeapps.list, right. ;)
Let's see whether those who ask to at least try to achieve asked. :)


poma


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