On 03/27/2012 08:02 AM, Patrick O'Callaghan wrote:
On Tue, 2012-03-27 at 07:23 -0500, Rex Dieter wrote:
> On 03/26/2012 08:11 PM, Patrick O'Callaghan wrote:
>> I'm trying to set up qbittorrent to handle magnet: links. I've searched
>> high and low in KDE Settings to no avail. Note that these links don't
>> usually have a distinguishing file extension. Instead they're flagged as
>> magnet:... in the URL.
>
>> Why is this stuff so hard?
>
> Any app that can support magnet links needs to have
> x-scheme-handler/magnet listed among supported MimeTypes in their
> .desktop file, e.g.:
>
> MimeTypes=...;x-scheme-handler/magnet;
/usr/share/applications/qBittorrent.desktop already has the line:
MimeType=application/x-bittorrent;x-scheme-handler/magnet;
I copied it to /home/poc/.config/autostart/qBittorrent.desktop
Wrong place to put it. Either edit the one in /usr/share/applications,
or put your modified one in ~/.local/share/applications
-- rex