[Kde-kiosk] Where do I start?

Waldo Bastian kde-kiosk@mail.kde.org
Thu, 30 Jan 2003 23:00:57 +0100


On Thursday 30 January 2003 21:08, Sully W Beardmore wrote:
> Hi,
>
> I am considering using KDE 3.0 for a public pay-per-use kiosk.  I only
> want the user to run my control program and the Phoenix browser.  My
> major difficulty lies in preventing KPanel from loading.  

The files in $KDEDIR/share/autostart determine what gets started. If you 
delete panel.desktop from there it will not be started. I suspect that you 
can also create the file $KDEHOME/share/autostart/panel.desktop just for this 
particular user with the following two lines:

[Desktop Entry]
Hidden=true

You might want to remove some other things such as kalarm.tray.desktop and 
klipper.desktop as well, since they are for use in the panel.

> Second, is
> there a way to prevent the user from browsing the local hardrive by
> typing / or /usr for example in the URL field?

This has been introduced for KDE 3.1 which has been released this week. *)
Add the following lines to $KDEDIR/share/config/kdeglobals:

[KDE URL Restrictions][$i]
rule_count=2
rule_1=list,,,,file,,,false
rule_2=list,,,,file,,$HOME,true

The first rule disables browsing of any local files, the second rule allows 
browsing of the users home directory. This works for konqueror but I don't 
know the Phoenix browser, if it is KDE based it should work there as well.

Cheers,
Waldo
-- 
*) It feels so good to say that :-)

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