Version 3 (modified by charles, 13 years ago) (diff) |
---|
Configuring Firefox to use Transmission for Magnet links:
- 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: yes
- Restart Firefox