xdg-settings rational explanation ???

Ed Greshko Ed.Greshko at greshko.com
Sat Jan 26 22:00:03 UTC 2013


On 01/27/2013 02:15 AM, 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?

Yep....

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

Yeah, when I googled for the problem I ended up on that thread....

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


More information about the kde mailing list