Difference between revisions of "KDE System Administration/Kiosk/Keys"

Jump to: navigation, search
(Screensavers)
(Resource Restrictions)
Line 22: Line 22:
  
 
== Resource Restrictions ==
 
== Resource Restrictions ==
 +
 +
KDE applications can take advantage of many types of resources such as configuration data, caches, plugin registries, etc. These are loaded from both system-wide as well as from per-user locations on disk. It is possible to restrict use of the per-user resources directories, preventing users from adding to or altering existing shared resources.
 +
 +
This is accomplished by creating a section like this in a configuration file, most often {{path|kdeglobals}} so that it applies to all applications:
 +
 +
<code ini>
 +
[KDE Resource Restrictions]
 +
<resource key>=false
 +
</code>
 +
 +
The following resources can be used as keys and controlled in this manner:
 +
 +
{|
 +
|-
 +
! Key !! Directory !! Provides
 +
|-
 +
|all || n/a || All resources listed in this table
 +
|-
 +
|autostart || {{path|share/autostart}} || Apps to start on login
 +
|-
 +
|data || {{path|share/apps}} || Application data
 +
|-
 +
|data_&lt;appname&gt; || {{path|share/apps}} || Application data for the application named &lt;appname&gt;
 +
|-
 +
|html || {{path|share/doc/HTML}} || HTML files
 +
|-
 +
|icon || {{path|share/icon}} || Icons
 +
|-
 +
|config || {{path|share/config}} || Application configurations
 +
|-
 +
|pixmap || {{path|share/pixmaps}} || Images
 +
|-
 +
|xdgdata-apps || {{path|share/applications}} || Application .desktop files
 +
|-
 +
|sound || {{path|share/sounds}} || Sound files
 +
|-
 +
|locale || {{path|share/locale}} || Localization data
 +
|-
 +
|services || {{path|share/services}} || Protocols, plugins, kparts, control panels, etc. registry
 +
|-
 +
|servicetypes || {{path|share/servicetypes}} || Plugin definitions, referenced in services registry entries
 +
|-
 +
|mime || {{path|share/mimelnk}} || Mimetype definitions
 +
|-
 +
|wallpaper || {{path|share/wallpapers}} || Desktop wallpaper images
 +
|-
 +
|templates || {{path|share/templates}} || Document templates
 +
|-
 +
|exe || {{path|bin}} || Executable files
 +
|-
 +
|lib || {{path|lib}} || Libraries
 +
|}
  
 
== Screensavers ==
 
== Screensavers ==

Revision as of 00:11, 10 February 2007

This article contains a listing of known keys that can be used with Kiosk and what they do. How to actually use these keys and other capabilities of Kiosk such as URL restrictions, creating assigning profiles, etc. is covered in the Introduction to Kiosk article.

Contents

Application Action Restrictions

KCalc

Konqueror and Desktop

Konsole

KWin

Panels

Using D-Bus To Find More Actions

Authorizing .desktop Files

File Dialog

Printing

Resource Restrictions

KDE applications can take advantage of many types of resources such as configuration data, caches, plugin registries, etc. These are loaded from both system-wide as well as from per-user locations on disk. It is possible to restrict use of the per-user resources directories, preventing users from adding to or altering existing shared resources.

This is accomplished by creating a section like this in a configuration file, most often kdeglobals so that it applies to all applications:

[KDE Resource Restrictions] <resource key>=false

The following resources can be used as keys and controlled in this manner:

Key Directory Provides
all n/a All resources listed in this table
autostart share/autostart Apps to start on login
data share/apps Application data
data_<appname> share/apps Application data for the application named <appname>
html share/doc/HTML HTML files
icon share/icon Icons
config share/config Application configurations
pixmap share/pixmaps Images
xdgdata-apps share/applications Application .desktop files
sound share/sounds Sound files
locale share/locale Localization data
services share/services Protocols, plugins, kparts, control panels, etc. registry
servicetypes share/servicetypes Plugin definitions, referenced in services registry entries
mime share/mimelnk Mimetype definitions
wallpaper share/wallpapers Desktop wallpaper images
templates share/templates Document templates
exe bin Executable files
lib lib Libraries

Screensavers

In kdeglobals in the [KDE Action Restrictions] group:

opengl_screensavers
defines whether OpenGL screensavers are allowed to be used.
manipulatescreen_screensavers
defines whether screensavers that manipulate an image of the screen (e.g. moving chunks of the screen around) are allowed to be used.

Automatic Log-out

In kscreensaverrc:

[ScreenSaver] AutoLogout=true AutoLogoutTimeout=600

The timeout is the time in seconds that the user must be idle for before the logout process is automatically started. Be careful with this capability as it can lead to data loss if the user has unsaved files open.

Session Capability Restrictions

autologout goes here as


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal