為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Magnets don't work in firefox 62, I need a fix. I've done handler.expose I set up with protocols that come with tixati, nothing works

  • 8 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Shadow110

more options

I installed firefox 61.0..1 which updated to 61.0.2 I used these commands:

gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/command 'tixati "%s"' gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/enabled true gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/need-terminal false

these worked without creating network.protocol-handler.expose.magnet set to false. I reinstalled my operating system (kali linux 2018.2) and installed firefox 61.0.1 from the same .bz2 file that worked just fine. When I installed it this morning, ran the same commands, which worked yesterday, and nothing but this message:

"The address wasn’t understood

Firefox doesn’t know how to open this address, because one of the following protocols (magnet) isn’t associated with any program or is not allowed in this context.

You might need to install other software to open this address."

after this message I went to handler.expose and set up as described above. Nothing, same message.

I realize that this question has been asked for older versions and none for 61 or 62. Oh, I set tixati to be default but cannot add magnet or tixati to the applications list in preferences.

This is very annoying

I installed firefox 61.0..1 which updated to 61.0.2 I used these commands: gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/command 'tixati "%s"' gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/enabled true gconftool-2 --set --type=string /desktop/gnome/url-handlers/magnet/need-terminal false these worked without creating network.protocol-handler.expose.magnet set to false. I reinstalled my operating system (kali linux 2018.2) and installed firefox 61.0.1 from the same .bz2 file that worked just fine. When I installed it this morning, ran the same commands, which worked yesterday, and nothing but this message: "The address wasn’t understood Firefox doesn’t know how to open this address, because one of the following protocols (magnet) isn’t associated with any program or is not allowed in this context. You might need to install other software to open this address." after this message I went to handler.expose and set up as described above. Nothing, same message. I realize that this question has been asked for older versions and none for 61 or 62. Oh, I set tixati to be default but cannot add magnet or tixati to the applications list in preferences. This is very annoying

所有回覆 (8)

more options

Is there a reason your not using a Bittorrent Client ?

more options

Hi DeadGirlRising, maybe try this: https://bugzilla.redhat.com/show_bug.cgi?id=1467130#c9

more options

Pkshadow said

Is there a reason your not using a Bittorrent Client ?


Tixati is a bit torrent client and yes I'm using it

more options

jscher2000 said

Hi DeadGirlRising, maybe try this: https://bugzilla.redhat.com/show_bug.cgi?id=1467130#c9

I went and looked at it and tried it, but it seems that my knowledge of python, json to be effective with:

"magnet":{"action":4}

inside "schemes":{}

In ~/.mozilla/firefox/<default_profile>/handlers.json

I can get to handlers.json but don't know how to make the changes needed.

more options

I suggest making a backup of handlers.json just in case. Then if you open the file in a regular text editor, the end might look something like this:

,"itmss":{"action":4,"ask":true}}}

So itmss:// is the last protocol ("scheme") in this example.

What you would need to add according to that article is a comma and then the new instruction for magnet, before the two closing curly braces:

,"itmss":{"action":4,"ask":true},"magnet":{"action":4}}}

I know this is a pain, but I don't understand Linux well enough to provide alternatives.

more options

jscher2000 said

I suggest making a backup of handlers.json just in case. Then if you open the file in a regular text editor, the end might look something like this: ,"itmss":{"action":4,"ask":true}}} So itmss:// is the last protocol ("scheme") in this example. What you would need to add according to that article is a comma and then the new instruction for magnet, before the two closing curly braces: ,"itmss":{"action":4,"ask":true},"magnet":{"action":4}}} I know this is a pain, but I don't understand Linux well enough to provide alternatives.

It doesn't give the error message anymore, but doesn't connect. Maybe now is the time to take it to a linux forum. I appreciate your help, Thank you

more options

So after trying the above fix, which didn't work for me (probably due to my lack of knowledge). This morning I reset firefox added network.protocol-handler.expose.magnet. And it worked. So I'm thinking resetting got something out of the way that kept firefox from recognizing. Magnet links are now handled by tixati as default in applications section of preferences. Working fine now. Don't know if my issue is solved or just fixed itself

more options

Hi, glad you got it working. Would think the Refresh did the job myself ...