Page 1 of 1
New Install cannot associate magnet links to Deluge
Posted: Sat Aug 23, 2014 6:06 am
by AraiBob
I installed Ubuntu 14.04.1 including Deluge. This was NOT an upgrade, but a fresh install.
I am having some odd issues.
Most important is when I click on the magnet link in Firefox, what comes up is expecting Transmission, not Deluge.
I have tried clicking the button in Preferences / Other which is to make the association of magnet links to Deluge, and it does not work.
I did some searches of the support forum and found this has been an issue, but all are older versions. What went wrong with the install? and how to fix?
Re: New Install cannot associate magnet links to Deluge
Posted: Sun Aug 24, 2014 1:20 am
by Spadge
I think it depends on your desktop environment.
I use KDE and had to make my own magnet handler:
Code: Select all
cat ~/.kde/share/kde4/services/magnet.protocol
[Protocol]
exec=deluge-gtk "%U"
protocol=magnet
input=none
output=none
helper=true
listing=false
reading=false
writing=false
makedir=false
deleting=false
This might help you:
http://www.pclinuxos.com/forum/index.php?topic=103267.0
Re: New Install cannot associate magnet links to Deluge
Posted: Sun Aug 24, 2014 8:32 am
by Cas
There are many answers on AskUbuntu so you need to search better. Likely this is the solution:
Code: Select all
xdg-mime default deluge.desktop x-scheme-handler/magnet
If not start with this
question and go from there.
Edit: The associate magnet code might be a bit old now so create a ticket and we'll look to update to use mime scheme.
Re: New Install cannot associate magnet links to Deluge
Posted: Mon Aug 25, 2014 5:07 am
by AraiBob
All,
I found an answer, though it puzzled me when I read it.
I was attempting to get Ubuntu Linux to 'connect' Magnet links to Deluge. It does have a link to Transmission, which is installed as a default. There is a 'way' to connect to Deluge and disconnect from Transmission, by pointing the connection to the program Deluge. Unfortunately, I was not sure exactly where the program resides.
The fix I did was to tell Firefox to make the connection. This was done easily and worked the first time.
Best regards
Re: New Install cannot associate magnet links to Deluge
Posted: Mon Aug 25, 2014 3:43 pm
by davidm
AraiBob wrote:Unfortunately, I was not sure exactly where the program resides.
Hi AraiBob. Just to help you in the future usually you can do:
or
at a terminal to figure out the location. Where <deluge> can be any program name. See 'man which' for more info.
Re: New Install cannot associate magnet links to Deluge
Posted: Wed Dec 26, 2018 9:28 am
by Debra743
Then I 'manually' started qBittorrent and closed it again. The next time I clicked a magnet link I was prompted by Chrome to allow it to call an external application
LiteBlue. I allowed this and chrome then fired up qBitorrent.
So it seems that if you don't need to have more than one torrent client on your PC, by removing the others and leaving the one you want, you can force Chrome to use the desired client. A bit of a Chuck Norris solution, but it worked for me.
Re: New Install cannot associate magnet links to Deluge
Posted: Tue Jan 01, 2019 11:08 am
by alex989
I recently had the same issue after installing u_torrent. I need 2 torrent programs because of private trackers that do not allow DHT.
U_torrent associated itself with magnet links which I didn't want it to do and the button in the deluge settings doesn't actually do anything.
I scoured the internet for about an hour trying to find a solution because the link in this post is dead.
MYBKExperience
Re: New Install cannot associate magnet links to Deluge
Posted: Wed Jan 02, 2019 7:36 pm
by Spadge
alex989 wrote:I recently had the same issue after installing u_torrent. I need 2 torrent programs because of private trackers that do not allow DHT.
U_torrent associated itself with magnet links which I didn't want it to do and the button in the deluge settings doesn't actually do anything.
I scoured the internet for about an hour trying to find a solution because the link in this post is dead.
What Operating System (Desktop Environment if a Linux or UNIX) and Browser are you using?
Re: New Install cannot associate magnet links to Deluge
Posted: Sat Apr 17, 2021 10:33 am
by johnshelbyy
Debra743 wrote:Then I 'manually' started qBittorrent and closed it again. The next time I clicked a magnet link I was prompted by Chrome to allow it to call an external application . I allowed this and chrome then fired up qBitorrent.
TcsWebmail LiteBlue Upsers
So it seems that if you don't need to have more than one torrent client on your PC, by removing the others and leaving the one you want, you can force Chrome to use the desired client. A bit of a Chuck Norris solution, but it worked for me.
Code: Select all
cd /usr/bin/
sudo sed 's/elif \[ x\"\$GNOME_DESKTOP_SESSION_ID\" \!\= x\"\" \]\; then DE\=gnome\;/elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;\n elif [ x"$MATE_DESKTOP_SESSION_ID" != x"" ]; then DE=gnome;/g' -i xdg-*
Worked for me (Mint Mate 16 Petra).