(→Session Capability Restrictions) |
(→Printing) |
||
| Line 20: | Line 20: | ||
== Printing == | == Printing == | ||
| + | |||
| + | There are several keys that restrict various aspects of the KDE print dialog and printing system. To use them, create a configuration section like this: | ||
| + | |||
| + | <code ini> | ||
| + | [KDE Resource Restrictions][$i] | ||
| + | print/<resource key>=false | ||
| + | </code> | ||
| + | |||
| + | Note how each of the printing keys start with <tt>print/<tt> in the configuration file. | ||
| + | |||
| + | ;print/copies | ||
| + | :Disables the panel that allows users to make more than one copy. | ||
| + | |||
| + | ;print/dialog | ||
| + | :Disables the complete print dialog. Selecting the print option will immediately print the selected document using default settings. Make sure that a system wide default printer has been selected. No application specific settings are honored when this restriction is activated. | ||
| + | |||
| + | ;print/options | ||
| + | :Disables the button to select additional print options. | ||
| + | |||
| + | ;print/properties | ||
| + | :Disables the button to change printer properties or to add a new printer. | ||
| + | |||
| + | ;print/selection | ||
| + | :Disables the options that allows selecting a (pseudo) printer or change any of the printer properties. Make sure that a proper default printer has been selected before disabling this option. Disabling this option also disables <tt>print/system</tt>, <tt>print/options</tt> and <tt>print/properties</tt>. | ||
| + | |||
| + | ;print/system | ||
| + | :Disables the option to select the printing system backend, e.g. CUPS. It is recommended to disable this option once the correct printing system has been configured. | ||
== Resource Restrictions == | == Resource Restrictions == | ||
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 |
There are several keys that restrict various aspects of the KDE print dialog and printing system. To use them, create a configuration section like this:
[KDE Resource Restrictions][$i]
print/<resource key>=false
Note how each of the printing keys start with print/<tt> in the configuration file.
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 |
In kdeglobals in the [KDE Action Restrictions] group:
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.
These keys apply to various capabilities associated with a desktop session and are not application specific. To use them, create a section in kdeglobals that looks like this:
[KDE Action Restrictions]
<key>=false