Long struggled with the problem of broken magnet links in firefox under linux. And, finally, after reading on the Internet, and, having rummaged through the settings, I still found a solution. Can someone come in handy.
The solution was found for flylink under Vain, but I think it is suitable for any client. So: 1. Create a file /home/username/flylink.sh approximately of the following content:
#! / bin / bash wine /mnt/win_d/progs/FlylinkDC++/FlylinkDC.exe / magnet $ 1 ')
2. Making this file executable (chmod + x filename)
3. In the new tab firefox open page about: config
4. Right-click to create a new string key “network.protocol-handler.app.magnet” (if the key exists, skip this step)
5. set the value of this key - /home/username/flylink.sh
6. everything. Click on some magnet link and check the result.