Configuring Firefox to use Transmission for Magnet links in GNOME:

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

When you start Transmission's GTK+ client version 1.80 or newer, it will make these three calls for you if you don't already have a magnet handler set up.

Configuring Firefox to use Transmission-Daemon for Magnet links:

  1. Create a shell script /usr/local/bin/magnet containing:
    /usr/bin/transmission-remote --add "$1"
  2. chmod +x /usr/local/bin/magnet
  1. In Firefox go to about:config
  1. Right-click on any link and select "New->String".
  • String name:
  • String value: /usr/local/bin/magnet
  1. Right-click on any link and select "New->Boolean"
  • Enter name: network.protocol-handler.handler.external.magnet
  • Enter value: true
  1. Restart Firefox
Last modified 11 years ago Last modified on May 7, 2012, 1:02:23 AM