| 163 | == What is a magnet uri, and how do I get Deluge to handle them? == |
| 164 | |
| 165 | Magnet URIs are an easy way to add torrents by their info-hash. You can learn more about them here: http://en.wikipedia.org/wiki/Magnet_URI_scheme |
| 166 | |
| 167 | If you're using GNOME, then you can do these following commands to associate magnets with Deluge: |
| 168 | |
| 169 | {{{ |
| 170 | gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command 'deluge "%s"' |
| 171 | gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/needs_terminal false |
| 172 | gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true |
| 173 | }}} |
| 174 | |
| 175 | If you aren't using GNOME, but using Firefox, you can set it up this way: |
| 176 | |
| 177 | * Type about:config into the address bar and press Enter. |
| 178 | * Add a key by Right-click -> New -> Boolean -> Name: network.protocol-handler.external.magnet with value -> true |
| 179 | * Add another key, by Right-click -> New -> String -> Name: network.protocol-handler.app.magnet with Value -> deluge |
| 180 | * Ensure that the key network.protocol-handler.expose-all is set to true. |
| 181 | |
| 182 | In Windows, you can simply re-run the installer and select the magnet association option. |
| 183 | |