KConfig and $HOME

Andreas Pakulat apaku at gmx.de
Thu Oct 11 20:59:23 BST 2007


On 11.10.07 21:05:00, Ingo Klöcker wrote:
> 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?

I guess it has to be implemented in it, not sure what the status is on
that, Thomas Braxton or Nhuh Put would know for sure.

Andreas

-- 
You will visit the Dung Pits of Glive soon.




More information about the kde-core-devel mailing list