[Kde-kiosk] Classroom control

Waldo Bastian kde-kiosk@mail.kde.org
Wed, 22 Jan 2003 22:07:52 +0100


On Wednesday 22 January 2003 21:53, Christopher Dawkins wrote:
> > Assuming that you use KDE3 you might get better results by using $KDEDIRS
> > and the config lockdown features.
>
> I think I am missing out on something obvious. Oddly - or is it? - there
> seem to be no $KDEDIRS on my system - and it is KDE 3.05. 

You only need it if you want to install (parts of) KDE in custom locations.

> If I open a
> Konsole window and enter [setenv or]
>
>   env | grep KDE
>
> all I get is KDE_MULTIHEAD=false, while in an xterm window I get
> KDE_STARTUP_ENV as well. Setting $KDEDIRS in Xsession works, it appears in
> my environment after login, but it doesn't seem to do anything. System is
> FreeBSD, default shell is csh. All diskless clients.

Let me explain then :)

$KDEDIRS are the locations where KDE looks for KDE things. 
If $KDEDIRS isn't set it defaults to the (single) location specified by 
$KDEDIR.
If $KDEDIR isn't set it defaults to the location that was used when builidng. 
(Usually /opt/kde)

There is also $KDEHOME which is the directory where KDE saves its settings. If 
$KDEHOME isn't set it defaults to ~/.kde. 

And then there is also $KDEROOTHOME which is where KDE saves its settings when 
it is running as root. (Defaults to ~root/.kde) This latter one is there to 
make sure that when you run a single KDE application as root it doesn't try 
to save files as root under the $KDEHOME directory of the user.

Cheers,
Waldo
-- 
bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com