slock - Man Page
simple X screen locker
Synopsis
slock | [-v] [cmd [arg ...]] |
Description
slock is a simple X screen locker. If provided, cmd [arg ...] is executed after the screen has been locked.
Options
- -v
Print version information to stdout and exit.
Security Considerations
To make sure a locked screen can not be bypassed by switching VTs or killing the X server with Ctrl+Alt+Backspace, it is recommended to disable both in xorg.conf(5) for maximum security:
Section "ServerFlags" Option "DontVTSwitch" "True" Option "DontZap" "True" EndSection
Examples
$ slock /usr/sbin/s2ram
Customization
slock can be customized by creating a custom config.h from config.def.h and (re)compiling the source code. This keeps it fast, secure and simple.
Referenced By
2016-08-23