The key /desktop/gnome/url-handlers/magnet
in gconf-editor
is missing.
How do I assign magnet links to use qbittorrent?
It would be really nice if it were easy to set url handlers. I always struggle with this when doing a fresh install. I would like to set subl:// to open sublime text 2 too.
EDIT: I would like it to work regardless of the application I'm using to activate the link. I'm using Chrome, but IMO the OS (Ubuntu) should be handling links that an application doesn't know how to handle - which it does, so how would one configure this?
EDIT2: This post details how to make the text editor in VIM handle vim:// urls, perhaps this can be applied to to magnet links. i.e create a desktop shortcut defining a MimeType handler then refreshing the cache. (Can't try right now as I'm using 12.04). http://www.tkalin.com/blog_posts/using-console-vim-as-vim-protocol-handler-in-ubuntu
MimeType=application/x-bittorrent;x-scheme-handler/magnet;
already in the desktop file so, for me, I haven't had to do anything special with a fresh Ubuntu install. – Stan Bondi Jul 18 '14 at 11:15exitxdg-mime: command not found
– roottraveller Sep 13 '18 at 08:09qbittorrent.desktop
file at/usr/share/applications/
? How do I create one? Also, when I dogvfs-mime --query x-scheme-handler/magnet
I get aThis tool has been deprecated, use 'gio mime' instead.
notice and then agio: Unknown option --query
error... – neubert Mar 02 '20 at 22:58gio mime
by doinggio mime x-scheme-handler/magnet
and you can set the handler by doinggio mime x-scheme-handler/magnet org.qbittorrent.qBittorrent.desktop
. Altho despite that it's still trying to load with the Transmission bittorrent client... – neubert Mar 02 '20 at 23:27qbittorrent.desktop
: I didn't haveqbittorrent.desktop
at/usr/share/applications
but I ran the command anyway. It ended up automatically finding that it should beorg.qbittorrent.qBittorrent.desktop
– JolonB Jul 03 '21 at 22:36