Fedora 12: issue running custom Env. Variable before KDE login
Steven P. Ulrick
lists-fedora at afolkey2.net
Sun Mar 28 21:01:12 UTC 2010
Hello Everyone
This is an otherwise stock installation of KDE on Fedora 12. I compile and
run three KDE applications from KDE's extragear SVN repository (Amarok, K3B
& Krusader), and one that does not come from KDE (Bibletime).
I install them in a new path each time, depending on what day that I am
updating. Today I have installed Amarok, Bibletime, K3B & Krusader in
"/usr/local/spu/spu-20100328/kde" So, for example,
"/usr/local/spu/spu-20100328/kde/bin" looks like this:
/usr/local/spu/spu-20100328/kde/bin/amarok
/usr/local/spu/spu-20100328/kde/bin/amarok_afttagger
/usr/local/spu/spu-20100328/kde/bin/amarokcollectionscanner
/usr/local/spu/spu-20100328/kde/bin/amarokmp3tunesharmonydaemon
/usr/local/spu/spu-20100328/kde/bin/amarokpkg
/usr/local/spu/spu-20100328/kde/bin/bibletime
/usr/local/spu/spu-20100328/kde/bin/k3b
/usr/local/spu/spu-20100328/kde/bin/k3bsetup
/usr/local/spu/spu-20100328/kde/bin/krusader
This path does definitely exist!
K3B, for example, does not detect the appropriate plugins unless I set the
KDEDIR to point to the directory that "bin/k3b" is located in. So, I
created a file called "/home/steve/.kde/env/customenv.sh" It's entire
contents look like this:
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/spu-20100328:$KDEDIR
"systemsettings | Advanced| Autostart" has that script set to run on "Pre-
KDE startup"
From a terminal, the values of $KDEDIR and $KDEDIRS are as follows:
[steve at localhost ~]$ $KDEDIR
bash: /usr: is a directory
[steve at localhost ~]$ $KDEDIRS
bash: /usr/local/spu/spu-20100328:/usr: No such file or directory
[steve at localhost ~]$
And, as most of you probably expect from what you read above, "which k3b"
returns the following value:
[steve at localhost ~]$ which k3b
/usr/bin/k3b
[steve at localhost ~]$
So, I am at a loss as to what to do next.
Here is a link to the K3B forum:
http://forum.kde.org/viewtopic.php?f=153&t=86700&p=152946#p152071
where I got the idea for:
export KDEDIR=/usr
export KDEDIRS=/usr/local/spu/spu-20100328:$KDEDIR
(I have changed what I was originally told to try to make things more
simple to maintain. In fact, I used to have four separate KDEDIRS lines in
customenv.sh and it worked great. For a while...)
So, any help you can give me is greatly appreciated.
Steven P. Ulrick
More information about the users
mailing list