Setting a protocol handler

Patrick O'Callaghan pocallaghan at gmail.com
Fri Mar 30 02:34:04 UTC 2012


On Thu, 2012-03-29 at 18:29 -0500, Rex Dieter wrote:
> 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

No, I just removed Ktorrent, which did work. I don't use the kde-testing
repo so it was easier to do it that way.

poc



More information about the kde mailing list