Configuring Firefox to use Transmission for Magnet links in GNOME:
- gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/transmission '%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
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:
- Create a shell script /usr/local/bin/magnet containing:
#!/bin/sh /usr/bin/transmission-remote --add "$1"
- chmod +x /usr/local/bin/magnet
- In Firefox go to about:config
- Right-click on any link and select "New->String".
- String name: network.protocol-handler.app.magnet
- String value: /usr/local/bin/magnet
- Right-click on any link and select "New->Boolean"
- Enter name: network.protocol-handler.handler.external.magnet
- Enter value: true
- Restart Firefox
Last modified 11 years ago
Last modified on May 7, 2012, 1:02:23 AM