How do you get magnet links to automatically open in Deluge? Can't really find any info on this.
I'm using i3. Googling hasn't brought up any useable info, sadly. I'm thinking it needs to be handled by xdg-open, but how is it configured?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- ror5j
8 comments
Here's a relevant ArchWiki article: https://wiki.archlinux.org/index.php/Changing_filetype_association_via_MIME
Deleted before we saved it.
I got it to wok by modifying /usr/bin/xdg-open and inserting 'deluge' into the BROWSER var.
\i.e (as in my case) replace
BROWSER=firefox:mozilla:epiphany:konqueror:chromium-browser:google-chrome:$BROWSER
with
BROWSER=firefox:mozilla:epiphany:konqueror:deluge:chromium-browser:google-chrome:$BROWSER
*apologies for formatting faux paus if any :)
I have no clue but after I uninstalled transmission it started using deluge.
—
xdg-open(1)manual pageIt appears
xdg-opendoesn't handle the mapping of protocols to programs, so the path of least resistance would be to configure your browser to handle them. However,xdg-openis just a shell script, so you should be able to edit it and hack in the ability easily.You could also give mimeo a shot: http://xyne.archlinux.ca/projects/mimeo/ AUR page: https://aur.archlinux.org/packages.php?ID=32911
That looks amazingly interesting, thanks a lot!
for what I have done, this should work: https://wiki.archlinux.org/index.php/Firefox_Tweaks#Adding_magnet_protocol_association
I use firefox as webbrowser and miro to download torrents, hope it works for you too.