5

I know this has been asked quite a few times already, however, I still don't have it working.

I'm using Qbittorrent as my torrent program, and I want to be able to open magnet links in Firefox.

I already chose qbittorrent as my magnet application handler (in firefox preferences - applications. I chose qbittorrent, located in /usr/bin/).

It's not working. Whenever I click on "download torrent", nothing happens.

Any ideas?

Now that I took another look on my firefox preferences, I see that "magnet" has still "always ask" as its value. I tried to change it, but I can't. It always goes back to "Always ask".

Braiam
  • 66,947
  • 30
  • 177
  • 264
Crex
  • 53
  • 1
  • 3
  • Just tried the most upvoted answer in the link you gave me, Braim (http://askubuntu.com/questions/311537/torrent-magnet-links-open-new-window-but-not-transmission) and still, nothing changed. – Crex Aug 13 '13 at 12:28
  • I tried the first part of your solution and still, no changes. this is getting frustrating. – Crex Aug 13 '13 at 12:36
  • I'd like to add that it works flawlessly with Chromium. Oh, and when i go to "applications", in firefox, it still has "always ask" has the magnet value. – Crex Aug 13 '13 at 12:39
  • Not a dupe, the problem was in Firefox, not xdg as the duplicated suggest. – Braiam Oct 01 '13 at 13:36

2 Answers2

2

If you already exhausted all solutions, you may want to take a look to your about:config page, in Firefox. It should have a boolean called network.protocol-handler.expose.magnet and it's value should be false.

If you don't have it:

  • Right click on an empty area of the about:config page
  • Select New > Boolean.
  • Name should be network.protocol-handler.expose.magnet and the value false.
  • Restart firefox and try again.
Braiam
  • 66,947
  • 30
  • 177
  • 264
  • I didn't have that parameter, and so I added, as you told me to. Still, nothing changed. Wth is wrong with my *"#(/ configuration? – Crex Aug 13 '13 at 13:06
  • Alright Braiam. I have it solved. What did I do? Well, what fixed it was a firefox re-install (removed firefox and installed firefox). However, I'll accept your answer. Thank you – Crex Aug 13 '13 at 13:11
  • Oh, actually. After re-installation, I went to applications (in Firefox preferences) and added qbittorrent has the magnet value. Whenever I did that pre-reinstalletion, it would always change back to "Always ask". Not this time. And it worked. – Crex Aug 13 '13 at 13:13
  • 1
    For those of you still struggling, you may also need to temporarily change `network.protocol-handler.expose-all` to `false`. – György Andrasek Nov 28 '13 at 11:12
0

I solved this problem following the comment of @GyörgyAndrasek:

"For those of you still struggling, you may also need to temporarily change network.protocol-handler.expose-all to false"

The keyword here (not said before) is "temporarily"

Once you are at one click of the magnet link you want to associate with your bit-torrent program, then you change the network.protocol-handler.expose-all to false. Then click the magnet link. You get a window like this (sorry, this is in spanish):

enter image description here

There you can choose the program to open this link and you can make it permanent by ticking the lower check-box.

Then you must change the network.protocol-handler.expose-all back to true.

---o---

My ubuntu: 16.04 LTS

My Firefox: 56.0 (64-bit)

Shirley Temple
  • 1,027
  • 1
  • 7
  • 17