[Kde-kiosk] Classroom control

Waldo Bastian kde-kiosk@mail.kde.org
Fri, 24 Jan 2003 12:19:29 +0100


On Friday 24 January 2003 11:37, Christopher Dawkins wrote:
> a) User kdelock1 doesn't get the StarOffice icons (though the desktop
> files work from the default cog icon on the kicker) while users with
> their $KDEDIRS set to ~kdelock1/.kde do get them!

Hmm. remarkable. Does it matter if you set $KDEDIRS to include /usr/local as 
well? (Note that the order matters)

> b) User kdelock1 can't drag things around the kicker bar, but can add
> and remove them.

> c) users can add things to their kicker bars, creating small kickerrc
> files, and these integrate nicely on next login with the forced $KDEDIRS
> configuration. But if they have "old" kickerrc files these prevent the
> $KDEDIRS configuration from showing through. I think my solution is to
> delete personal kickerrc files!

You can actually automate that by installing a file for kconf_update. E.g.
name the follwing file my_kicker.upd and install it to 
~kdelock1/.kde/share/apps/kconf_update:

Id=1
File=kickerrc,kickerrc.bak
Options=overwrite
AllGroups

When the user logs in the next time it will empty its kickerrc. It will only 
do this once, the Id in the first line is used to check if it has done so 
already. If you want to force it again just change the Id to something else 
("2" is a good candidate :-)

It might be a bit tricky because if you are logged in as kdelock1 it will 
immediately take effect for that user as well, which is probably not what you 
want. I guess I should add something to prevent that.

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