---
name: "vlock-plugins"
section: "5"
platform: "linux"
package: "vlock"
version: "2.2.2-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/vlock-plugins"
---

# vlock-plugins(5)

plugin support for vlock

## NAME

vlock-plugins - plugin support for vlock

## DESCRIPTION

If [vlock-main(8)](/vlock-main/8.md) is compiled with plugin support its default features are very limited: it can only lock the current session and ask for authenticiaton. However it is possible to extend this functions through plugins.  These plugins are loaded when vlock-main starts and can provide hooks that are called at certain points during the lifetime of the vlock-main process.

## DEFAULT PLUGINS

The following plugins are provided when installing vlock with default options:

**all**

-

  This plugin locks all sessions by disabling console switching.  It is also loaded when giving the **-a,--all** option to [vlock(1)](/vlock/1.md).

**new**

-

  This plugin switches to a new virtual console before disabling console switching through the "all" plugin.  It is also loaded when giving the **-n,--new** option to [vlock(1)](/vlock/1.md).

**nosysrq**

-

  Linux only.  This plugin disables the Linux SysRQ mechanism before the console switching is locked by the "all" plugin.  It is also loaded when giving the **-s,--disable-sysrq** option to [vlock(1)](/vlock/1.md).

## ADDITIONAL PLUGINS

The following plugins are only available if explicitly selected at build time:

**caca**

-

  This plugin runs a random libcaca screensaver when the screen is locked.

## WRITING PLUGINS

For information about writing plugins see the PLUGINS file in the vlock source distribution.

## SEE ALSO

[**vlock**(1)](/vlock/1.md), [**vlock-main**(8)](/vlock-main/8.md)

## AUTHORS

Frank Benkstein \<frank-vlock@benkstein.net\>
