How to change the magnet uri handler in Google Chrome?

2

I removed the Transmission BitTorrent client from my Ubuntu and installed Deluge. Now magnet URIs don't work anymore. How to tell Chrome to launch the new app instead?

Jader Dias

Posted 2011-09-02T23:36:46.683

Reputation: 13 660

I have found an entry in gconf-editor under /desktop/gnome/url-handlers/magnet but I changed it and it did not solve the problem – Jader Dias – 2011-09-03T17:33:37.563

Answers

1

Try the following:

gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/deluge '%s'"
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/needs_terminal false
gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true

Change /usr/bin/deluge to the correct location for your system.

Andrew Maiman

Posted 2011-09-02T23:36:46.683

Reputation: 151