TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [TCLUG:6915] relocating RedHat KDE RPMs -- UPDATE



> -----Original Message-----
> From: Joel A. Koepp [mailto:jkoepp@gustavus.edu]
> Sent: Sunday, July 11, 1999 2:10 PM
> To: tclug-list@mn-linux.org
> Subject: Re: [TCLUG:6915] relocating RedHat KDE RPMs -- UPDATE
> 
> 
> 
> >Hi
> >    I do not use KDE coming with RH6.0 now, casue my system 
> is too slow to
> >use KDE under RH 6.0. So the following may not be correct.
> >    About the library, you should add something like  /opt/kde/lib
> >in the file /etc/ld.so.conf and run /sbin/ldconfig.
> >    Also, for KDE, there is some environment variable like 
> KDEDIR, you
> >should setup it. Redhat may put some file like kde.sh or 
> kde.csh in your
> >/etc/profile.d, you should look at it and modify it to fit 
> your situation.
> >Hope this will help you.
> 
> I did add /opt/kde/lib to /etc/ld.so.conf, ran ldconfig, 
> fiddled with the kde.*
> scripts in /etc/profile.d/, and KDEDIR gets set in my .cshrc. 
> Setting KDELIB
> didn't help either. 
> 

Usually applications are written to look in the path list specified by
various environment variables before defaulting to the standard location.  I
guess the point is moot now that you've already rolled back, but the
following environment variables should be all that's required to make KDE
work off a different install dir.

KDEDIR=/<wherever>/kde
PATH should include /<wherever>/kde/bin
LD_LIBRARY_PATH should include /<wherever>/kde/lib and /<wherever>/qt/lib
MANPATH should include /<wherever>/kde/man
XAPPLERESDIR should include /<wherever>/kde/lib/app-defaults

This last one may be different on Linux since i did these settings for a
solaris 2.5.1 version of KDE.  It might be XUSRFILESEARCHPATH or something.
I'm typing this from the office where sadly i don't have a linux box (sigh
!).  This generally should work.  I'll recheck these from my linux box at
home and post if there is any correction.

.... Or you could use GNOME ?  ;-)

Ciao,

-Unni