KConfig and $HOME

Ingo Klöcker kloecker at kde.org
Thu Oct 11 20:05:00 BST 2007


On Thursday 11 October 2007, Andreas Pakulat wrote:
> On 11.10.07 12:54:02, Allen Winter wrote:
> > Does the new KConfig support $HOME in rc files?
>
> Yes and No :(
>
> > I started up korganizer4 from my kde3 desktop and my
> > standard calendar could not be read.  I think because
> > KConfig read the wrong file from
> > ~/.kde/share/config/kresources/calendar/stdrc
> >
> > The value it was trying to read was:
> > CalendarURL=file:$HOME/.kde/share/apps/korganizer/std.ics
> >
> > Looks like KConfig returned the value
> > file://$home/.kde/share/apps/korganizer/std.ics instead.
>
> Right. All KDE3 configs (and pre-KConfig-merge) need to be upgraded
> and all Entries that have $HOME and are supposed to be expanded need
> to have [$e] added to the entry key.

Does kconf_update support adding [$e] to config keys or do all 
developers of KDE applications have to write ugly Perl scripts for 
this?


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071011/695dae01/attachment.sig>


More information about the kde-core-devel mailing list