2

As soon as I had installed Stremio all the magnet links are opened in Stremio instead of qbittorrent or any other torrent program.

So far I have found a way out by copying the Magnet link (right-clicking the Magnet link and copying it). I am using Chrome as the default browser. I found some what Similar issue in Firefox. Firefox seems to not be affected and it did ask me to open which program I wanted to open but Firefox was unable to open qbittorent. Even though I had given it bqitorrent location /usr/bin/qbittorrent

2 Answers2

0

I was having the same problem where magnet links were always associated with Stremio instead of opening my torrent client. However, I was finally able to find a solution to this problem here.

Steps:

Run gio mime x-scheme-handler/magnet. This will get you a list of possible candidate applications to associate magnet links with. Example output (altered to mimic the state before the fix):

Default application for “x-scheme-handler/magnet”: com.stremio.Stremio.desktop
Registered applications:
    transmission-gtk.desktop
    com.stremio.Stremio.desktop
Recommended applications:
    transmission-gtk.desktop
    com.stremio.Stremio.desktop

At this point, let's say you choose Transmission. Then you can run:

gio mime x-scheme-handler/magnet transmission-gtk.desktop

You can change this for other torrent clients you might have. This has worked for me on Ubuntu 24.04, and probably would have in 22.04, which is where I started having this problem.

Alexandre
  • 127
-1

If Stremio is directly opening the magnet link. You can go ahead and reset the Chrome settings. It resets just the settings which should probably reset the default redirection.

To perform a reset, Three dots > Settings > Reset Settings

Next time when you try to open a magnet link you should receive a popup asking to open, like this:

somewebsite wants to open this application.

Click on xdg-open and it would list the apps, which should most likely include qBittorrent also.

All the best!

  • Resetting my browser means losing all my settings and passwords. Can I reset only the settings for torrents and magnets default application file associations? – Adeel Raza Azeemi Nov 10 '23 at 04:46
  • What are the settings that you have adjusted? To my knowledge resetting does not delete your passwords. As the name suggests it only resets settings – Arjun K Shibu Nov 10 '23 at 18:23
  • I did as you told me but still stremio is opening the magnet links. btw: My chrome had three users; does your solution had to done on all the users. Because one user reset doesnot do it – Adeel Raza Azeemi Dec 09 '23 at 13:21
  • Chrome settings affect the app that opens? Shouldn't Ubuntu handle that? – user7215 Jun 05 '25 at 00:24