On 05/30/2018 03:24 PM, Alex wrote:
$ 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

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.
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/6YGEWSY2AJ3LIR3RXZKC55ZZHTTKOVBU/

Reply via email to