gnome-control-center
: System settings > System info > Default applicationsxdg-utils
(xdg-mime
) to set a default application for a specific Mime Typetransmission-gtk
by default. You want to use deluge. The .desktop files are usually in folder /usr/share/applications/
. We use the cat
command to look into the file /usr/share/applications/transmission-gtk
(a line that starts with 'MimeType'):xdg-mime
command? Simple: xdg-mime default myapp.desktop mymimetype
deluge-gtk
) application. First you have to install the deluge-gtk
package (otherwise the .desktop file won't exist). Then you have to execute:grep
) should return 'application/x-bittorrent=deluge.desktop' and the other mime type for magnet. Otherwise, something went wrong (maybe the desktop file didn't exist?)./usr/local/bin/magnet
with these commands:about:config
in Firefox, and add boolean value network.protocol-handler.expose.magnet with value false
. The next time you click on a magnet link, you'll be prompted to choose your favorite application to open the link.