On Sat, 2013-01-26 at 14:49 +0800, Ed Greshko wrote:
> When using chrome as my browser I want ktorrent used for opening magnet links.
Originally transmission was being used and the following was the case....
> [egreshko@meimei ~]$ xdg-settings get default-url-scheme-handler magnet
> So, I did....
> xdg-settings set default-url-scheme-handler magnet ktorrent.desktop
> No matter how many times I executed that command the "get" still returned
> Finally I erased transmission-gtk and transmission-common.
> When I first executed the "get" it still returned transmission-gtk.desktop.
I then did the "set" again, and finally ktorrent.desktop was returned and
chrome used ktorrent as requested.
> So, can anyone give a suggestion as to why the "sets" failed to change the
settings until transmission was removed from the system?
Did you logout/login between the set and the get?
As I'm sure you remember, we had a whole thread about this sort of thing
a while back:
Since I finally got it to work I didn't worry any more about it, but my
impression at the time was that this was due to a kludge somewhere in
the default protocol-handling setup, and that it was going to be fixed.
Looks like that hasn't happened yet.
There's a bug between xdg-settings get/set
I believe your "set" operation is working correctly (mostly), but
is failing to grok correctly what was just set for some reason on KDE.