xdg-settings rational explanation ???

Rex Dieter rdieter at fedoraproject.org
Sat Jan 26 18:22:11 UTC 2013


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 at 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.

-- rex



More information about the kde mailing list