[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:       David Faure <David.Faure () insa-lyon ! fr>
Date:       1999-02-19 8:25:05
[Download RAW message or body]

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
...

Probably doesn't matter anyway, if kfm is extended to let the user set
those in a dialog box.

-- 
 ____________________________________________________________________
|                                                                    |
|  David FAURE                                                       |
|  E-mail : David.Faure@insa-lyon.fr, faure@kde.org                  |
|  http://www.insa-lyon.fr/People/AEDI/dfaure/index.html             |
|____________________________________________________________________|

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

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