How to associate magnet links to qBittorrent?

I'm running Ubuntu 12.04.03 LTS and have installed qBittorrent v2.9.7 via the Ubuntu software center. But where can I find this program in the file system. I need that in order to define magnet in Firefox Edit/Preferences/Applications.


Solution 1:

To start qbittorrent, just search for it in Dash, or just type qbittorrent in terminal.

enter image description here

To associate magnet links to qBittorrent in Firefox: Edit --> Preferences --> Applications tab Then type magnet in the search box. Select qbitorrent as your default application; other wise search for it.

enter image description here

Solution 2:

qBittorrent is in /usr/bin/qbittorrent as can be seen here http://packages.ubuntu.com/precise/i386/qbittorrent/filelist

Solution 3:

To find the full path to any executable in any version of Linux, open a terminal window and enter whereis executable (substituting the program you wish to find for the word executable). That command will return with the path to the executable file.

http://linux.die.net/man/1/whereis provides more information on the whereis command.