Set Transmission as default program when opening magnet links
25,696
Chromium obeys the system-wide xdg settings. To configure opening magnet links with a custom application use the following command
xdg-mime default transmission-gtk.desktop x-scheme-handler/magnet
You can also do this manually: Open the file ~/.local/share/applications/mimeapps.list
and add the following entry in the section [Default Applications]
:
x-scheme-handler/magnet=transmission-gtk.desktop
You can confirm the new setting with
xdg-mime query default x-scheme-handler/magnet
Related videos on Youtube
![Jose Manosalvas](https://i.stack.imgur.com/XcaiJ.jpg?s=256&g=1)
Author by
Jose Manosalvas
Updated on September 18, 2022Comments
-
Jose Manosalvas almost 2 years
How can I set up Chromium to open Transmission when clicking on a magnet link such as on TPB?
Chromium says that it will use xdg-open but that generally doesn't do anything
System: Manjaro Linux 0.8.5.2 fully upated
Desktop Environment: Xfce 4.10
-
Jose Manosalvas about 11 yearsXfce hardly any settings have been changed from default
-
-
Jose Manosalvas about 11 yearsI did that however I still get 'Unable to to detect URI-scheme of'
-
Marco about 11 years@abacusasian What does the last command from my answer return?
-
slm about 11 years@Marco, I tried your steps and although I get
transmission-gtk.desktop
as output from the xdg-mime command, nothing happens when I click on a magnet link in chrome. -
Jose Manosalvas about 11 years@Marco 'transmission-gtk.desktop'
-
randunel almost 11 years@Marco I have the same problem abacusasian has, and your solution did not work :(
-
shantiq over 4 yearsran this method in Ubuntu 18.04 LXDE and works perfectly altho the Open xdg-open popup still appears but when I click on it it DOES open in Transmission now ... so thank you Thought of the addendum here as many might see the pop-up and think nothing has changed
-
Marius almost 4 years+ to get rid of xdg-open popup and just work: stackoverflow.com/questions/51986354/…