Setting a protocol handler

Rex Dieter rdieter at math.unl.edu
Thu Mar 29 23:29:02 UTC 2012


Patrick O'Callaghan wrote:

> On Thu, 2012-03-29 at 14:43 -0500, Rex Dieter wrote:
>> Rex Dieter wrote:
>> 
>> 
>> OK, folded the ktorrent-related changes into ktorrent-4.2.0-3 build now
>> in kde-testing and queue'd for updates-testing repos.
>> 
>> %changelog
>> * Thu Mar 29 2012 Rex Dieter <rdieter at fedoraproject.org> 4.2.0-3
>> - omit magnet.protocol
>> - support/use MimeTypes=x-scheme-handler/magnet; instead
>> 
>> * Thu Mar 29 2012 Rex Dieter <rdieter at fedoraproject.org> 4.2.0-2
>> - drop ENABLE_KIO_MAGNET, let main app handle it
>> 
>> 
>> $ xdg-settings set default-url-scheme-handler magnet qBittorrent.desktop
>> $ xdg-settings get default-url-scheme-handler magnet
>> $ xdg-open magnet:foo
>> 
>> all do the right thing for me.
> 
> But not for me. As stated previously, xdg-open did work the first time I
> tried it, but now it doesn't, even though "xdg-settings get" does return
> the correct result.

You sure you upgraded to ktorrent-4.2.0-3, and re-ran said commands 
afterward?

rpm -q ktorrent

-- rex



More information about the kde mailing list