Author Topic: Magnet links in Firefox [Solved]  (Read 26428 times)

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Magnet links in Firefox [Solved]
« on: March 06, 2012, 06:24:58 AM »
Hi,

Many bit torrent sites such as Pirate Bay now use Magnet links.  If I click on a Magnet link in Firefox I get, "Firefox doesn't know how to open this address, because the protocol (magnet) isn't associated with any program."

KTorrent understands Magnet so any ideas how to get Firefox to link to it?

TIA
Russell.
« Last Edit: March 06, 2012, 12:58:42 PM by russell.eberhardt »
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline nixer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 589
Re: Magnet links in Firefox
« Reply #2 on: March 06, 2012, 06:50:03 AM »
I had this same problem a couple of days ago.  This is what I did to solve it.  I am using transmission as my BT client but use Firefox as my browser.  These steps may help you.

In Firefox, under file > preferences, click on the applications tab.  Scroll down to "magnet" and select to "always ask".  Then click on the magnet file and it will ask you which program to use to open it.  In transmission, I had to manually "browse" to the program in /usr/bin and select it for it to work.  I guess this is because firefox recognized "transmission" but when I browsed to the actual file, the file name was transmission-gtk and not merely "transmission".  At any rate, after I did this, it worked fine.

Hope this helps.
Desktop:  AMD 3.6ghz X4, Gigabyte MB, 8GB ram, Multiple PCLOS's, 2.6.38.8-pclos3.pae.bfs
Server: Intel 3.4ghz X2, 4GB RAM, SATA, gnome2, *.pae.bfs, Headless, Servers: LAMP, FTP, Samba, Print, PXE, BT
HTPC: Phenom II X4 2.8ghz, 4GB Ram, 1TB SATA, PCLinuxOS-KDE, NVIDIA N220GT HDMI, *.pae.bfs

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Magnet links in Firefox
« Reply #3 on: March 06, 2012, 12:58:00 PM »
Thanks guys.

I installed transmission instead of KTorrent.  Copied and pasted the commands from the PClos Mag, followed nixer's instructions and all works fine.

Thanks again.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline coffeetime

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3426
  • Send me an Angel
Re: Magnet links in Firefox [Solved]
« Reply #4 on: March 06, 2012, 03:20:38 PM »
Firefox

about:config


enter handler.expose



right click - New - Boolean



Enter the preference name network.protocol-handler.expose.magnet



Set its value to false



Click on the magnet link and you should see Firefox’s Launch Application Choose Dialog



Select your torrent client.
PCLinuxOS e17 Club member/e17 video/Wifi problems?
those who complain rarely read. those who read rarely complain
 

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Magnet links in Firefox [Solved]
« Reply #5 on: March 07, 2012, 03:38:45 AM »
Thanks Coffeetime, that's perfect.

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Re: Magnet links in Firefox [Solved]
« Reply #6 on: March 08, 2012, 01:58:15 PM »
Another thank you to Coffeetime! Worked perfectly!
Shimon

Offline cpufrier

  • Full Member
  • ***
  • Posts: 72
Re: Magnet links in Firefox [Solved]
« Reply #7 on: April 27, 2012, 08:20:36 PM »
Thank you , thank you, thank you.

Offline Dreamofgilgamesh

  • Full Member
  • ***
  • Posts: 215
Re: Magnet links in Firefox [Solved]
« Reply #8 on: June 10, 2012, 06:11:17 AM »
Hi, i just found this topic and i found it very helpful.  The only bit I'm stuck on is this,

"Select your torrent client."

Where in the Linux file system do i find Ktorrent please?

Offline russell.eberhardt

  • Sr. Member
  • ****
  • Posts: 408
Re: Magnet links in Firefox [Solved]
« Reply #9 on: June 10, 2012, 09:01:58 AM »
Where in the Linux file system do i find Ktorrent please?
Here:
/usr/bin/ktorrent

Russell.
Desktop: Gigabyte GA-MA770T-UD3 motherboard, NVIDIA GeForce 8400GS, AMD Phenom II Quad Core Processor 3GHz, 4GB ram, 250GB + 500GB SATA HD,

Offline Dreamofgilgamesh

  • Full Member
  • ***
  • Posts: 215
Re: Magnet links in Firefox [Solved]
« Reply #10 on: June 10, 2012, 09:21:46 AM »
Thank you Russel, much appreciated.

Offline Jim Dandy

  • Full Member
  • ***
  • Posts: 185
Re: Magnet links in Firefox [Solved]
« Reply #11 on: November 23, 2012, 09:41:50 AM »
Firefox

about:config


enter handler.expose



right click - New - Boolean



Enter the preference name network.protocol-handler.expose.magnet



Set its value to false



Click on the magnet link and you should see Firefox’s Launch Application Choose Dialog



Select your torrent client.


That didn't work for me. Even after I did the boolean thing and set it to false, I got the same message on/with Firefox.
« Last Edit: November 23, 2012, 11:04:31 AM by Jim Dandy »

Offline pb100

  • Jr. Member
  • **
  • Posts: 37
Re: Magnet links in Firefox [Solved]
« Reply #12 on: November 23, 2012, 03:26:24 PM »
Worked!  Thanks