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@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org/message/UQDLMM2ECWPJI6OUNVQL4EX4P4RBMP5J/

Reply via email to