[Kde-kiosk] Is Kiosk what I need?

Waldo Bastian kde-kiosk@mail.kde.org
Sun, 9 Mar 2003 00:24:52 +0100


On Saturday 08 March 2003 20:01, Dylan wrote:
> > Ah, ok, I understand. What you can do is put a kickerrc in
> > $KDEDIR/share/config on both of your computers and lock the parts that
> > specify the sizes by putting [$i] behind the keys. E.g.
> > CustomSize[$i]=58
> > Size[$i]=2
> >
> > You will then no longer be able to change these settings but they will be
> > dependant on the machine you are running.
>
> OK, that's fine for me - but means every user is stuck with my settings...

Yes.

You can in fact work around that as well. E.g. you could add to 
$KDEDIR/share/config/kdeglobals the following line

[Directories]
dir_config[$ie]=$HOME/.kde/share/config-$HOSTNAME

This adds $HOME/.kde/share/config-$HOSTNAME as a possible location for config 
files. Now every user can put a custom kickerrc in 
$HOME/.kde/share/config-$HOSTNAME that will only be used on that particular 
host.

The $ie means that the setting is both immutable (locked down) and that 
expansion of environment variables is performed. In the latter case you can 
also use shell commands such as $(hostname).

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