[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kfm wish... was Re: Suggestion about localisation
From:       Peter Silva <peter.silva () videotron ! ca>
Date:       1999-02-24 3:06:23
[Download RAW message or body]

David Faure wrote:
> 
> On Thu, Feb 18, 1999 at 10:43:06PM -0500, Peter Silva wrote:
> > It would be cool for .kdelnk files to support environment variables.
> > If I put the above in the Execute line of a .kdelnk file, and I get
> > "Could not execute program LANG=de"  Does one have to create an
> > explicit script just to set a variable?  Seems silly.
> > I'd like a .kdelnk property that allows setting of arbitrary
> > environment variables, for things like...
> >
> >       MOZILLA_HOME=/opt/netscape-37/lib
> > or
> >       TZ=ESD5EDT  (I normally run in GMT0)
> 
> Did you read KConfig documentation ? It's impossible to load the value of a
> key whose name you have no idea of !
> Only solution I see :
> 
> NrEnvVar=2
> EnvVar1=MOZILLA_HOME
> Value1=/opt/netscape-37/lib
> EnvVar2=TZ
> Value2=ESD5EDT
> ...

I was thinking more along the lines of:

EnvVarNames=MOZILLA_HOME,TZ ...
EnvVarValues=/opt/netscape-37/lib,EST5EDT ...

like kppp does for encoding login scripts.

-- 
Peter

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic