On 05/31/18 05:17, Alex wrote:
Hi, I have a fedora28 desktop with the latest version of chrome-beta and would like to be able to click on torrent files and have them be opened automatically in deluge instead of just being downloaded and stored in my Downloads directory.
It looks like the files are already associated with deluge when they are clicked, but I'd like Chrome to pass it directly to deluge instead of just downloading it.
How can I do this? You'd think it would be easy, but I've searched and haven't found anything recent.
I always, like now, forget the commands to do this. So, I just edit the file ~/.config/mimeapps.list
In the section [Default Applications] I have
x-scheme-handler/magnet=ktorrent.desktop;
This causes chrome, or any browser, to open links like
magnet:?xt=urn:btih:3da4d10aa513f572132accd9088b9f5103409610&dn=Life.in.Pieces.S03E21.HDTV.x264-SVA&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Fzer0day.ch%3A1337&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Fexodus.desync.com%3A6969
in ktorrent