[kde-linux] bash variables and KDE

Werner Joss werner at hoernerfranzracing.de
Sat Mar 3 16:12:39 UTC 2007


Am Samstag, 3. März 2007 17:06 schrieben Sie:
> Maybe this is a newbie question and maybe this doesn't belong here, but
> is there anyway to define bash variables so that KDE can use them as
> directions when you fire up the Alt-F2 box?  For instance, if I have a
> directory ScriptsToCrit, rather than having to refer to it as
> /home/jmeyer/Documents/ScriptsToCrit on the command line, or even
> $HOME/Documents/ScriptsToCrit, can I define $SCRIPTS as
> "/home/jmeyer/Documents/ScriptsToCrit" and have it stay so it will
> expand and pull up the right directory?

you can.
just put a script, say env.sh in $HOME/.kde/env directory.
any script located there will be sourced by kde upon login, so everything in that script(s)
will be known permanently.

werner




More information about the kde-linux mailing list