slock.1 - slock - simple X display locker utility
HTML git clone git://git.suckless.org/slock
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
slock.1 (780B)
---
1 .Dd September 5, 2026
2 .Dt SLOCK 1
3 .Os
4 .Sh NAME
5 .Nm slock
6 .Nd simple X screen locker
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl v
10 .Sh DESCRIPTION
11 .Nm
12 is a simple X screen locker.
13 The options are as follows:
14 .Bl -tag -width Ds
15 .It Fl v
16 Print version information to stdout and exit.
17 .El
18 .Sh EXIT STATUS
19 .Ex -std
20 .Sh SECURITY CONSIDERATIONS
21 To make sure a locked screen can not be bypassed by switching VTs
22 or killing the X server with Ctrl+Alt+Backspace, it is recommended
23 to disable both in
24 .Xr xorg.conf 5
25 for maximum security:
26 .Bd -literal
27 Section "ServerFlags"
28 Option "DontVTSwitch" "True"
29 Option "DontZap" "True"
30 EndSection
31 .Ed
32 .Sh CUSTOMIZATION
33 .Nm
34 can be customized by creating a custom config.h from config.def.h and
35 (re)compiling the source code.
36 This keeps it fast, secure and simple.