如何使用洪水从火狐打开磁力链接

Kil*_*nDS 10 firefox bittorrent deluge

如何使用 Firefox 打开磁力链接?我尝试在 about:config 中设置以下值,

network.protocol-handler.app.magnet -> /usr/bin/deluge
network.protocol-handler.expose.magnet -> true
network.protocol-handler.external.magnet -> true
Run Code Online (Sandbox Code Playgroud)

但是 Firefox 一直在抱怨

Firefox 不知道如何打开这个地址,因为协议(磁铁)与任何程序都没有关联。

我在 ubuntu 11.04 上使用 firefox (5) 和 deluge (1.3.1 - gui+daemon mode) 的存储库版本

编辑:我被告知设置network.protocol-handler.expose.magnet为 false 并且 firefox 会询问使用哪个应用程序,但我没有看到询问我出现的东西的框。

Smi*_*max 10

从 Firefox 3.6 开始network.protocol-handler.external.*似乎不再工作

about:config

network.protocol-handler.expose.magnet -> false
Run Code Online (Sandbox Code Playgroud)

并“重置”与磁铁有关的所有其他值。

单击磁力链接后,系统将提示您选择一个应用程序,导航到并选择 /usr/bin/deluge

你也可以试试

$ gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command 'deluge "%s"'
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/needs_terminal false
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true
Run Code Online (Sandbox Code Playgroud)

  • 要检查的另一件事是在应用程序下的 Firefox 首选项中,如果已经有一个磁铁条目。 (2认同)

小智 5

在 Firefox 中,转到 Edit/Preferences/Applications,搜索磁铁并设置 Deluge

在此处输入图片说明