LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2006, 02:57 PM   #1
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
how to add magnet support to Firefox ?


Howdy,...
many times i see link named magnet link (for dc or azureus) when i click on them it tries to connect to magnet:// and i get and error that there is now program that associted with that protocol.

how do i assoiate program to protocol :
magnet:// -> azureus
IRC:// -> xchat
and so on
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-01-2006, 03:39 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Look at the part;
Registering additional protocols
http://gentoo-wiki.com/TIP_Firefox_S...s#about:config
 
Old 10-22-2006, 09:11 AM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Great link! I'd read it before but list it and your post helped me find it again.

Even so, it took me a while to figure out exactly how to get it done . For the sake of convenience (probably my own in case I ever need to do this again) I'll write down how I got it done:

type "about:config" in the

right-click on any link and select "New->String"
string name: network.protocol-handler.app.magnet
string value: /usr/bin/azureus

right-click on any link and select "New->Boolean"
enter name: network.protocol-handler.handler.external.magnet
enter value: yes

Restart firefox and you're ready to go.

This method has worked fine for magnet links, but is supposed to work for any protocol you wish to link to an external application.
I haven't been able to get it to work for ed2k though...

Last edited by linmix; 10-22-2006 at 09:36 AM.
 
Old 11-27-2009, 09:25 PM   #4
dragonmere
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 4
While I'm assuming that this worked before Firefox 3.5, it no longer does. However, this post is still among the top google results for this subject. I managed to find a reputable source that helped me resolve this problem, and I thought I might as well pass along the information to anyone else who would stumble upon this several-year-old thread.

Again, open a new tab, type about:config

Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.magnet -> Value -> false

Next time you use the magnet protocol, it will give you the familiar "associate application" box. Navigate to your magnet-compatible client, (probably /usr/bin/azureus or /usr/bin/vuze but I don't know for sure, as I don't use that program) and there you go.

Source: http://kb.mozillazine.org/Register_p...e_libraries.29

enjoy
 
3 members found this post helpful.
Old 12-19-2009, 12:44 PM   #5
piemmm
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Another update

Also found this quite high up on Google, however as time has progressed, so a slightly different fix is required:

instead of /usr/bin/azureus, the path to the file should now be /usr/bin/vuze
 
Old 02-02-2010, 05:35 PM   #6
habtool
LQ Newbie
 
Registered: May 2008
Posts: 1

Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by dragonmere View Post
While I'm assuming that this worked before Firefox 3.5, it no longer does. However, this post is still among the top google results for this subject. I managed to find a reputable source that helped me resolve this problem, and I thought I might as well pass along the information to anyone else who would stumble upon this several-year-old thread.

Again, open a new tab, type about:config

Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.magnet -> Value -> false

Next time you use the magnet protocol, it will give you the familiar "associate application" box. Navigate to your magnet-compatible client, (probably /usr/bin/azureus or /usr/bin/vuze but I don't know for sure, as I don't use that program) and there you go.


enjoy
Thanks, worked like a charm in firefox 3.6
 
Old 02-04-2010, 08:11 PM   #7
wilberfan
LQ Newbie
 
Registered: Feb 2007
Location: California, USA
Distribution: Debian Testing, Sidux
Posts: 4

Rep: Reputation: 0
Sadly, this did NOT work for me with FF 3.6.2pre under Debian. When I click on a magnet link, I still get the "magnet isn't associated with any program" message.

[edit] I've noticed that despite the fact that I entered "false", when I quit Firefox and restart it, the "false" is somehow automatically changed to "true".

Last edited by wilberfan; 02-04-2010 at 08:23 PM.
 
Old 11-27-2010, 01:37 AM   #8
Djalal
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Solution

It didn't work for me either (using Firefox 3.6 in Gentoo Linux). I found the solution here!

Good luck!
 
Old 01-01-2011, 12:29 AM   #9
alpha_hack
Member
 
Registered: Jul 2007
Location: Sofia, Bulgaria
Distribution: Slackware 13.1x86_64
Posts: 75

Rep: Reputation: 15
Quote:
Originally Posted by dragonmere View Post
While I'm assuming that this worked before Firefox 3.5, it no longer does. However, this post is still among the top google results for this subject. I managed to find a reputable source that helped me resolve this problem, and I thought I might as well pass along the information to anyone else who would stumble upon this several-year-old thread.

Again, open a new tab, type about:config

Right-click -> New -> Boolean -> Name: network.protocol-handler.expose.magnet -> Value -> false

Next time you use the magnet protocol, it will give you the familiar "associate application" box. Navigate to your magnet-compatible client, (probably /usr/bin/azureus or /usr/bin/vuze but I don't know for sure, as I don't use that program) and there you go.

Source: http://kb.mozillazine.org/Register_p...e_libraries.29

enjoy
This works fine on Slackware 13.1-x86_64, firefox 3.6.8

Thanks for sharing it!
 
Old 03-30-2012, 12:05 PM   #10
Sniper7
LQ Newbie
 
Registered: Mar 2012
Location: Vulcan; County of Hunedoara; Romania
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Thumbs up Thanks

Many thanks to dragonmere for the great tip given on this issue. I'm on Ubuntu 10.04 LTS Lucid Lynx, with FF 11.0 from repos and Vuze 4.6.0.2 from GetDEB. The fix works great on it.
 
Old 07-03-2012, 07:18 PM   #11
tonytraductor
LQ Newbie
 
Registered: Sep 2008
Location: new haven, ct, usa
Distribution: Debian Stable
Posts: 8

Rep: Reputation: 0
Doing anything in about:config did nothing for me (iceweasel 12.0 on debian stable).
I use transmission, however, and found that I can simply copy the magnet link, and in transmission do file->add url, then paste in the magnet link, or
in cli, do
Quote:
transmissioncli -a $magnetlinkurl
.
 
Old 11-04-2013, 04:23 AM   #12
jimbo312
LQ Newbie
 
Registered: Nov 2013
Posts: 3

Rep: Reputation: Disabled
Thanks to those posting various fixes.

Dragonmere's fix posted 11-27-09 worked for me, first thing I tried.

Running Firefox 25 on Ubuntu 12.04.3 64-bit and using qbittorrent (which is one excellent client, btw.)
 
Old 07-30-2016, 04:16 PM   #13
buhal
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Rep: Reputation: Disabled
This worked for me, FF 47, Debian 9, KDE 5:
1. In about:config find "network.protocol-handler.expose-all", change to "false";
2. Click on some magnet link - a file browser pop-up should appear, show it full path to the executable (/usr/bin/qbittorrent for ex.);
3. Change "network.protocol-handler.expose-all" back to "true";
4. Download the world.
 
1 members found this post helpful.
Old 10-16-2017, 04:29 PM   #14
dammad
LQ Newbie
 
Registered: Jan 2006
Location: Edmonton Alberta
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
magnet link in firerox

Quote:
Originally Posted by buhal View Post
This worked for me, FF 47, Debian 9, KDE 5:
1. In about:config find "network.protocol-handler.expose-all", change to "false";
2. Click on some magnet link - a file browser pop-up should appear, show it full path to the executable (/usr/bin/qbittorrent for ex.);
3. Change "network.protocol-handler.expose-all" back to "true";
4. Download the world.
This works in firefox 56 on win-seven as well

Thanks!!
 
  


Reply

Tags
azureus, firefox, link



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Is Browsezilla a Malware Magnet? LXer Syndicated Linux News 0 06-27-2006 05:33 AM
No USB support that I can add. PsychoticDude85 Slackware 2 01-10-2006 06:23 AM
How To Add Ntfs Support XSquire Debian 21 10-07-2005 02:46 AM
help me to add support! ilectrcbob Linux - Newbie 1 06-19-2004 09:38 AM
Deleting DDS 4 Tapes w/ Magnet ghight Linux - General 1 06-20-2003 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration