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