Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Action Restrictions

KDE applications are built around the action-concept. Actions can be activated in various ways, typically via the menu-bar, one of the toolbars or a keyboard shortcut. Save Document is an example of an action. If you know the internal action name it is possible to restrict an action. When an action is restricted it will no longer appear in the menu-bar or toolbar. The internal name for the Save Document action is action/file_save . The lock down framework also provides a set of more abstract restrictions which can be used to disable functionality not covered by a single action. An example is the shell_access restriction which disables all functionality that would offer the user access to a UNIX� shell.

Example�26.1.�Restrict User Access to Shells

In order to prevent the user access to a command shell we can restrict the shell_access action by adding the following to kdeglobals:

[KDE Action Restrictions]

Since this affects the KDE menu and the available applications, we must force an update of the sycoca database:



Now re-login to KDE and check the following points:

  • The K menu

  • In Konqueror, Tools -> Open Terminal

  • The Alt + F2 run command

Full documentation about available actions can be found on

A few of the more interesting actions are listed below:


The Configure option form the Settings menu


The Report Bug option from the Help menu.


right mouse button mouse button menu on the desktop.


right mouse button mouse button menu on the panel.


Hide all actions or applications that require root access.


Hides all actions or applications that provide shell access.


Disables the option to select the printing system (backend).


Whether the user will be able to lock the screen


Whether the user may start a second X session (see also kdm)


Whether OpenGL screensavers are allowed to be used.


Permit screensavers that do not hide the entire screen

  Published under the terms of the GNU General Public License Design by Interspire