I seem to have forgotten how to make WebTorrent, or any torrent application automatically grab the magnet torrent links from websites like thepiratebay.org?

There's no file to download so I cannot choose the prefered application, and it's being opened my the Ubuntu's default - Transmission.


  • Try this link it gives an explanation on how to use uTorrent to create one. – George Udosen Dec 18 '16 at 20:19
  • Desktop default or any tool using xdg-open directly (including Chrome/Chromium). To check the current default use:

    ~$ xdg-mime query default x-scheme-handler/magnet

    To check available tools:

    ~$ grep -r -e "application/x-bittorrent" -e "x-scheme-handler/magnet" /usr/share/applications/

    To set another tool, for example Deluge:

    xdg-mime default deluge.desktop x-scheme-handler/magnet
  • Firefox lets you choose which application handles each type of link (URL):

    Firefox menu → Preferences → Applications → magnet: Choose Use other.

    Firefox: setting magnet handler

  • Need it for chrome. – Mookey Dec 18 '16 at 19:22
  • @Mookey, updated my answer. Tested only with chromium. – user.dz Dec 18 '16 at 20:12
  • 1
    Works a charm! Thanks! Awarding points asap – Mookey Dec 18 '16 at 20:53

You can copy the address (by right click) and past it (with Ctrl+V) in WebTorrent after File -> Open Torrent Address.

This is not automatic but it should work. The automation depends on the browser you are using.

You should try to see in your browser documentation for an "left-click" solution.

  • I know I can do that, I need it automatically connected to clicking the magnet link in Chrome. – Mookey Dec 18 '16 at 19:23

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.