KDE and default enviroment , $KDEHOME ??

James Richard Tyrer tyrerj at acm.org
Wed Oct 15 11:42:06 BST 2003


Izo wrote:
> 1. KDE default enviroment setup
> 
> Please, somebody, tell me where the KDE takes the default enviroment 
> when kdm is run and where when user logs in.
> 
> Why the question ?
> 
> I have installed the KDE-3.1.92 using Konstruct parallelly to default 
> kde, of course configured to different directory. Now I want to set the 
> default enviroment for the KDE-3.1.92 applications as QTDIR, KDEDIR, 
> PATH to both of new Qt, KDE, QTMKSPEC etc etc to not clash the new apps 
> with the default KDE ones.
> 
> I have tried to set them prior to kdm start - no success - the 
> /etc/profile is used to define PATH afterwards
> When using $HOME/.bashrc or $HOME/.profile it affects only Konsole / 
> xterm but not the KDE apps run from K-menu.
> 
> It is just annoying since some apps really do clash with the old ones 
> and thus crash.
> 
KDM sets the PATH.  You can configure this in:

	$KDEDIR/share/config/kdm/kdmrc

What else happens is determined by your system's: "Xsession" script.  This 
is often in: "/etc/X11/".  If this script is a login script then: 
"/etc/profile" & "~/.bash_profile" are run (or if you have no: 
"~/.bash_profile" then it will use: "~/.profile").
> 
> 2. $KDEHOME
> 
> Another question - about the $HOME/.kde directory. I would really not 
> like to use the same for both default and new KDE but I would like to 
> use the same login user to work with either with default or new KDE. I 
> have changed the KDEHOME setup in the $KDEDIR/bin/startkde script with 
> no effect. How to do it properly ?

Normally, this would go in: "~/.bash_profile".

--
JRT

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list