kwriteconfig

Cedric Brandenbourger branc426 at gmail.com
Mon Apr 19 16:24:04 BST 2010


It's working on ubuntu 8.04.4 lts with kde 3.5.10

Cédric

> (Please do not start a new thread by replying to a random unrelated
> message, this breaks threaded presentation in mail clients)
>
> On 18/04/2010 22:09, Cedric Brandenbourger wrote:
>    
>> Hi
>>
>> I'm having an issue with kwriteconfig
>>
>> When launching
>>
>> kwriteconfig --file kdeglobals --group Locale --key CurrencyCode[$i] EUR
>>
>> I'm getting as result
>>
>> [Locale]
>> CurrencyCode\x5b\x5d=EUR
>>      
> I am actually surprised it works on other machines. As far as I know
> kwriteconfig cannot set the [foo] part of a KConfig key. You may have to
> resort to hacks like that:
>
> kwriteconfig --file kdeglobals --group Locale --key CurrencyCode EUR
> sed -i 's/^CurrencyCode=/CurrencyCode[$i]=/' path/to/kdeglobals
>
> Aurélien
>
>    




More information about the kubuntu-devel mailing list