如何打开firefox与洪水的磁铁链接

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

network.protocol-handler.app.magnet -> /usr/bin/deluge network.protocol-handler.expose.magnet -> true network.protocol-handler.external.magnet -> true 

但是firefox继续抱怨

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

我在ubuntu 11.04上使用的是firefox(5)和thluge(1.3.1 – gui +守护进程模式)的存储库版本

编辑:有人告诉我将network.protocol-handler.expose.magnet设置为false,firefox会询问使用哪个应用程序,但我看不到任何框出现问题。

截至firefox 3.6 network.protocol-handler.external.*似乎不再有效

about:config

 network.protocol-handler.expose.magnet -> false 

并’重置’所有其他值与磁铁。

单击磁力链接后,系统将提示您选择应用程序,导航至并选择/ 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 

在Firefox中,转到编辑/首选项/应用程序,搜索磁铁并设置Deluge

在此处输入图像描述

而不是点击Firefox中的磁铁链接(需要一些高级配置来设置),右键单击链接并选择“复制链接位置”。 然后,进入Deluge窗口,单击Add Torrent(窗口左上角的“+”),然后单击“URL”按钮。

快乐的托雷,并记得以3:1的种子比例!

我试图用镀铬而不是火狐来吸收磁铁,但在尝试了我所见过的其他所有东西之后,我终于设法通过不仅改变而使磁力链接在大洪水中打开

 MimeType=application/x-bittorrent; 

 MimeType=application/x-bittorrent;x-scheme-handler/magnet; 

在/usr/share/applications/deluge.desktop中,但也删除

 x-scheme-handler/magnet; 

从/usr/share/applications/transmission-gtk.desktop开始运行

 sudo update-desktop-database 

希望这有助于任何有类似问题的人

你真的安装了洪水吗? 如果没有,请打开终端并输入此命令。 sudo apt-get install deluge当它完成时它应该出现在程序列表中。

这对我有用,FF 47,Debian 9,KDE 5:

  1. 在about:config中找到“network.protocol-handler.expose-all”,改为“false”;
  2. 点击一些磁铁链接 – 应该出现一个文件浏览器弹出窗口,显示它可执行文件的完整路径(例如/ usr / bin / qbittorrent);
  3. 将“network.protocol-handler.expose-all”更改回“true”;
  4. 下载世界。

deluge包安装的deluge.desktop文件(在/usr/share/applications或类似文件中)应该已包含

 MimeType=x-scheme-handler/magnet 

deluge相关联的线路。 但是,在我的情况下,我发现系统要拿起这个关联,我必须运行:

 sudo update-desktop-database 

如果未找到此命令,则需要首先安装包desktop-file-utils