KDEdu Logo

KLettres - Setting Kiosk Mode

How to set Kiosk mode in KLettres

The kiosk-framework provides an easy way to disable certain features within KDE to create a more controlled environment.

Please see http://websvn.kde.org/trunk/KDE/kdelibs/kdecore/doc/README.kiosk for more precision about KDE kiosk mode.

You can find all the actions KLettres support using the following dbus call:
qdbus org.kde.klettres-id | grep actions | cut -d '/' -f 4,5
where id is the KLettres pid.

  • Having KLettres only in Kid mode
    If you want to block KLettres in Kid mode only, suppressing Grown-up mode actions, you will need to add in the klettresrc file in $KDEHOME:

    [General]
    MenuBarBool[$i]=false
    myMode[$i]=kid

    [KDE Action Restrictions][$i]
    action/menubar[$i]=false
    action/mode_grownup[$i]=false

  • Blocking KLettres to Level X (1<=X<=4)
    If you want to block KLettres to one level, say Level X (1<=X<=4), you will need to add in the klettresrc file in $KDEHOME:

    [KDE Action Restrictions][$i]
    action/levels[$i]=false
    and in [General] group, set
    myLevel=X


  • You can suppress the download option that allows to get new sounds in KLettres (in File ->Get Alphabet in New language) by having the following:
    [KDE Action Restrictions][$i]
    action/downloadnewstuff[$i]=false

Of course you can combine all those options. For example having

[KDE Action Restrictions][$i]
action/downloadnewstuff[$i]=false
action/levels[$i]=false
action/menubar[$i]=false
action/mode_grownup[$i]=false
[General]
Language=fr
myLevel=4
will set KLettres in kid mode and Level 4 with download being impossible.


Author: Anne-Marie Mahfouf
Last update: 2011-04-29

Global navigation links