Changes between Version 1 and Version 2 of MagnetLinks


Ignore:
Timestamp:
Feb 10, 2010, 11:25:19 PM (13 years ago)
Author:
charles
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MagnetLinks

    v1 v2  
    1 Instructions to get magnet links to work in Firefox (courtesy ''lucapost'')
     1= Instructions to have Firefox use Transmission for Magnet links: =
    22
    3 1. Create a shell script {{{/usr/local/bin/magnet}}} containing:
     3 1. {{{gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "/usr/bin/transmission '%s'"}}}
     4 2. {{{gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/needs_terminal false}}}
     5 3. {{{gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true}}}
     6
     7When you start Transmission's GTK+ client version 1.80 or newer,
     8it will make these three calls for you ''if'' you don't already have a magnet handler set up.
     9
     10= Instructions to have Firefox use Transmission-Daemon for Magnet links: =
     11
     12 1. Create a shell script {{{/usr/local/bin/magnet}}} containing:
    413{{{
    514#!/bin/sh
    615/usr/bin/transmission-remote --add $1
    716}}}
    8 2. {{{chmod +x /usr/local/bin/magnet}}}
     17 2. {{{chmod +x /usr/local/bin/magnet}}}
    918
    10 3. In Firefox go to '''about:config'''
    11    Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.magnet -> Value -> false
    12 4. Restart Firefox
     19 3. In Firefox go to '''about:config'''
     20
     21 4. Right-click on any link and select "New->String".
     22
     23  * String name: network.protocol-handler.app.magnet
     24  * String value: /usr/local/bin/magnet
     25
     26 5. Right-click on any link and select "New->Boolean"
     27
     28  * Enter name: network.protocol-handler.handler.external.magnet
     29  * Enter value: yes
     30
     31 6. Restart Firefox