1

Following the information seen here: I cannot associate magnet urls to open with qBittorent. I get this error:

Failed to load info for handler 'qBittorrent.desktop'
Jinzu
  • 320
  • 1
  • 2
  • 14
  • See https://askubuntu.com/a/499119/15811 and make sure you use the correct dir for the desktop file. – Rinzwind Oct 06 '17 at 13:43
  • Yes I have a .desktop file for qBittorrent in my /usr/share/applications/ directory. But I still get the error. – Jinzu Oct 06 '17 at 13:45
  • qbittorrent.desktop is a launcher (desktop icon) correct? Don't you need to point Chrome to the actual program? – ravery Oct 06 '17 at 13:58
  • Yes the qBittorrent.desktop file is a launcher. I don't know how to point Chrome to the torrent client. I am fairly new to *nix. – Jinzu Oct 06 '17 at 16:01

2 Answers2

3

As of now, the new way of doing it is:

gio mime x-scheme-handler/magnet qbittorrent.desktop
Bjorn
  • 131
  • 4
0

I went here https://unix.stackexchange.com/questions/55214/how-to-override-the-gnome-3-ssh-handler/100736#100736

Opened terminal typed in

gvfs-mime --set x-scheme-handler/magnet qbittorrent.desktop
Jinzu
  • 320
  • 1
  • 2
  • 14