Re: Associating file types with apps

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

 



Hi,

>> $ xdg-mime query default application/x-bittorrent
>> deluge.desktop
>
>
> Good.
>
>> $ xdg-mime query my-torrent-file.torrent
>> xdg-mime: unknown query type 'my-torrent-file.torrent'
>> Try 'xdg-mime --help' for more information.
>
>
> You missed a parameter.  It should have been:
> xdg-mime query filetype my-torrent-file.torrent

Ah, thank you.

$ xdg-mime query filetype my-torrent-file.torrent
application/x-bittorrent

>> I've also checked ~/.config/mimeapps.list and it's already associated
>> with deluge:
>>
>> $ grep magnet ~/.config/mimeapps.list
>> x-scheme-handler/magnet=deluge.desktop;
>> x-scheme-handler/magnet=deluge.desktop
>
> That's magnet links, not torrent files.

Ah, right. So should the proper entry be 'torrent' or 'bittorrent'?

x-scheme-handler/magnet=deluge.desktop;
x-scheme-handler/torrent=deluge.desktop;
x-scheme-handler/bittorrent=deluge.desktop;

Can I just restart deluge or do I have to restart gnome?

Thanks,
Alex
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/UQDLMM2ECWPJI6OUNVQL4EX4P4RBMP5J/



[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