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
I had the same problem and managed to fix it by setting the defaults for both gvfs as well as xdg.
check defaults with:
and set them with
Assuming you have a
qbittorrent.desktop
file at/usr/share/applications/
Probably not the best way, but I achieved this simply by uninstalling Transmission - which caused the default to switch to qBittorrent automatically.
To remove Transmission:
If you have installed q bittorrent for the first time when you click a magnetic link it will ask you to launch an application. So you need to select q bittorrent.
on the left hand side you would see filesystem. select that. /usr/bin/ ...search for q bittorrent in that list. then click OK. The download should start automatically.
If you are using Firefox for your web browser. Goto Edit > Preferences > Applications tab Then type magnet in the search box. The select qbitorrent as your default application. If it isn't in the list select Use Other and then locate the qbitorrent program.
There is a Extension for Chrome/Chromium call Remote Torrent Adder that supports qbitorrent. It adds the torrents through it's WebUI qbitorrent will have to already be running for it to work. Hope this helps.
To assign qbitorrent as the default .torrent files right click on a downloaded file, select properties, and the open with tab. Then select qbitorrent as the default application to open torrent files. Reference for 4 different ways to select default applications is over at howtogeek.com