KConfig and $HOME

Allen Winter winter at kde.org
Thu Oct 11 21:59:12 BST 2007


On Thursday 11 October 2007 4:01:54 pm Kevin Krammer wrote:
> On Thursday 11 October 2007, Allen Winter wrote:
> > On Thursday 11 October 2007 1:12:30 pm Andreas Pakulat wrote:
> 
> > > 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.
> > >
> > > The new KConfig only expands $HOME on entries that have this special
> > > flag set.
> >
> > Is there no way around this?
> > Will kde3 apps work if they see the [$e]?
> 
> I think so. It is documented here
> http://techbase.kde.org/KDE_System_Administration/Configuration_Files#Shell_Expansion
> 
Interesting.  I just learned something new.

Hmm.. do we want [$ie]?  That way, I can move around my home dir without
breaking my rc files.

And, do we need to use ${HOME} instead of $HOME?

i.e. should
FooPath=$HOME/folder/junk
become
FooPath[$ie]=${HOME}/folder/junk


??




More information about the kde-core-devel mailing list