Make magnet links load up in Transmission

Questions about applications and software
Forum rules
Before you post please read how to get help
littlemouse
Level 1
Level 1
Posts: 1
Joined: Mon Jun 04, 2012 3:34 pm

Make magnet links load up in Transmission

Postby littlemouse » Mon Jun 04, 2012 3:48 pm

When I click on a magnet link, I get this download/file.php?mode=view&id=10476

When I click on "Launch Application", Opera opens. How can I get Transmission to open when I click on a magnet link?



Reading viewtopic.php?f=47&t=103104, I know that I could either:
a) Copy the magnet link and paste into the BitTorrent application
or
b) Install a Chrome/Chromium plugin.

I prefer neither. I prefer to have my Mint OS to natively send the magnet link to Transmission. Please help.
Attachments
Screenshot-External Protocol Request.png
Screenshot-External Protocol Request.png (52.02 KiB) Viewed 2806 times

gunfleet
Level 1
Level 1
Posts: 9
Joined: Mon Apr 26, 2010 5:07 pm

Re: Make magnet links load up in Transmission

Postby gunfleet » Wed Jul 18, 2012 11:52 am

Got exactly the same problem here, I can see what is happening but not how to fix it,

Chrome calls xdg-open when magnet link is clicked, xdg-open supposedly uses .local/share/applications/mimeapps.list, so I added
application/x-bittorrent=transmission-gtk.desktop
x-scheme-handler/magnet=transmission-gtk.desktop

to mimeapps.list, however xdg is not reading this, it instead passes to x-www-browser which happens to be Opera, if you run
#update-alternatives --config x-www-browser
#update-alternatives --config gnome-www-browser

and change to Firefox then clicking the magnet link in Chrome will open Firefox, there seems to be a few issues with setting default apps in Mate DE

User avatar
killer de bug
Level 12
Level 12
Posts: 4335
Joined: Tue Jul 08, 2008 1:49 pm
Location: Graz, Austria

Re: Make magnet links load up in Transmission

Postby killer de bug » Wed Jul 18, 2012 2:23 pm

For Firefox.

http://www.pclinuxos.com/forum/index.php?topic=103267.0

The answer given by coffeetime.
Image
If it ain't broke, fix it until it is.

gunfleet
Level 1
Level 1
Posts: 9
Joined: Mon Apr 26, 2010 5:07 pm

Re: Make magnet links load up in Transmission

Postby gunfleet » Wed Jul 18, 2012 2:41 pm

killer de bug wrote:For Firefox.

http://www.pclinuxos.com/forum/index.php?topic=103267.0

The answer given by coffeetime.


Yes Firefox is not a problem as Applications can be set within the browser, Chrome is different it calls xdg-open which does not seem to understand the mimeapps.list and hands off to x-www-browser

kerykeion
Level 1
Level 1
Posts: 4
Joined: Mon Aug 08, 2011 11:45 pm
Location: Philippines

Re: Make magnet links load up in Transmission

Postby kerykeion » Wed Jan 23, 2013 11:46 am

After 9 hours of searching, I finally found the answer. I believe this only applies to MATE desktop. Just read the last post (by alej) regarding editing the xdg-open file to make it open magnet files.

Now I whenever I click a 'magnet URI' on Google Chrome/Chromium, Deluge would launch (I personally use Deluge, but Transmission will also work using the 'hack' above)

shideneyu
Level 1
Level 1
Posts: 13
Joined: Tue Oct 23, 2012 3:12 pm

Re: Make magnet links load up in Transmission

Postby shideneyu » Fri Feb 01, 2013 4:43 pm

Awesome, thanks, kerykeion for having found that, it now works properly.

Mate is adding new features in spite of fixing everything. Blah, they just don't have the time, I don't mind =]


Return to “Software & Applications”

Who is online

Users browsing this forum: No registered users and 12 guests