On 01/27/2013 02:22 AM, Rex Dieter wrote: > On 01/26/2013 12:15 PM, Patrick O'Callaghan wrote: >> On Sat, 2013-01-26 at 14:49 +0800, Ed Greshko wrote: >>> Hi, >>> >>> 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 >>> transmission-gtk.desktop >>> >>> 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 transmission-gtk.desktop. >>> >>> 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: >> >> http://lists.fedoraproject.org/pipermail/kde/2012-March/011284.html >> >> 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 "get" is failing to grok correctly what was just set for some reason on KDE. > > Well, even after logging out and logging back in transmission would get started. So, I think the get was accurate. Since all is working now maybe I'll just be happy. :-) -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -- Rick Cook, The Wizardry Compiled _______________________________________________ kde mailing list kde@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kde New to KDE4? - get help from http://userbase.kde.org