How to make Chrome use Deluge for magnet links in Fedora

Sep 2014 update: This was written for Fedora 17. Apparently the desktop file has been renamed to deluge.desktop (the sane choice).

The three things you need to know:
1) Unlike Firefox, Chrome uses xdg-open to choose the default program to open a file.
2) You can set the default application for each type by using xdg-mime.
3) The Fedora desktop file for Deluge is fedora-deluge.desktop and not deluge.desktop.

xdg-mime default fedora-deluge.desktop x-scheme-handler/magnet

4 Comments on “How to make Chrome use Deluge for magnet links in Fedora

  1. only works when I change fedora-deluge.desktop to deluge.desktop… I’m using Fedora 20 Cinnamon with Chrome Version 36.0.1985.143

  2. The last few times I’ve tried various fixes for this issue I’ve never had any luck, this is the first time I’ve found a solution that actually works :) thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.