Using kdepim trunk from a different prefix than the rest of kde (3.4)

Reinhold Kainhofer reinhold at
Sat Jul 30 21:24:49 BST 2005

Hi guys,
I have kde 3.4 installed from debian packages (all of kde, including kdepim) 
into /usr, but I also have kdepim trunk compiled into /opt/kdepim_HEAD.

Now, for one account I don't want the 3.4 binaries, but rather the one 
in /opt/kdepim_HEAD. In ~/.kde/env/ I have

export KDEDIRS=$kde_dir:/usr
export PATH=$kde_dir/bin:$PATH
export LD_LIBRARY_PATH=$kde_dir/lib:$LD_LIBRARY_PATH

which works just fine for everything started from the konsole (and anything 
that doesn't have a version installed in /usr). 

The problem is that anything started by kde (e.g. started by session 
management, or by Alt+F2, or korganizer started by a klick on the korgac 
systray item) uses the binary from /usr, but the libraries 
from /opt/kdepim_HEAD (which are not binary compatible with 3.4). I guess 
this happens because the .desktop files are still taken from the /usr 

How can I make kde start the binaries from /opt/kdepim_HEAD, too?


Reinhold Kainhofer, Vienna, Austria
email: reinhold at,
 * Financial and Actuarial Mathematics, TU Wien,
 * K Desktop Environment,, KOrganizer / KPilot maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list