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

Reinhold Kainhofer reinhold at kainhofer.com
Wed Aug 3 17:25:48 BST 2005


David Faure wrote:

>> Hmm, then I don't know, if that's true it should be enough to set $PATH,
>> $LD_LIBRARY_PATH and $KDEDIRS.
> 
> And to unset XDG_DATA_DIRS and XDG_CONFIG_DIRS, if your distro sets them
> for you. This could be why .desktop files in /usr are picked up.

Hmm, no Debian doesn't seem to set either of them. "Alt+F2 env>~/somefile" 
creates somefile with these environment variables:

DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=curie.fam.tuwien.ac.at;1123085456;795346;19855_TIME706395593
DISPLAY=:0
DM_CONTROL=/var/run/xdmctl
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/reinhold/.gtkrc-2.0:/home/reinhold/.kde/share/config/gtkrc
GTK_RC_FILES=/etc/gtk/gtkrc:/home/reinhold/.gtkrc:/home/reinhold/.kde/share/config/gtkrc
HOME=/home/reinhold
KDEDIR=/usr/opt/kdepim_HEAD/
KDEDIRS=/usr/opt/kdepim_HEAD/:/usr
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
LD_LIBRARY_PATH=/usr/opt/kdepim_HEAD//lib:/usr/lib:
LIBRARY_PATH=/usr/opt/kdepim_HEAD//lib:/usr/lib:
LOGNAME=reinhold
PAGER=more
PATH=/usr/opt/kdepim_HEAD//bin:/usr/bin:/data/reinhold/KDE/unsermake:/home/reinhold/.build/bin:/home/reinhold/.bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
SESSION_MANAGER=local/curie.fam.tuwien.ac.at:/tmp/.ICE-unix/19852
SHELL=/bin/bash
SHLVL=2
USER=reinhold
XCURSOR_THEME=default
XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic
XPSERVERLIST=:64
_=/usr/bin/env

and kde-config --path services also uses the correct pathes.

I'm really lost here... 
And it's really hard to work and debug properly when e.g. korganizer tries to 
start kmail (for the imap resource) and starts the wrong /usr/bin/kmail 
(which crashes, because it tries to load the bic librarys 
from /usr/opt/kdepim_HEAD)...

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, 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: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050803/65fb54d8/attachment.sig>


More information about the kde-core-devel mailing list