Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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.
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.
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".
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.
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.
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
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 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.