| slock.1 - slock - simple X display locker utility | |
| git clone git://git.suckless.org/slock | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| slock.1 (909B) | |
| --- | |
| 1 .Dd October 6, 2023 | |
| 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 .Op Ar cmd Op Ar arg ... | |
| 11 .Sh DESCRIPTION | |
| 12 .Nm | |
| 13 is a simple X screen locker. | |
| 14 If provided, | |
| 15 .Ar cmd | |
| 16 is executed after the screen has been locked. | |
| 17 .Pp | |
| 18 The options are as follows: | |
| 19 .Bl -tag -width Ds | |
| 20 .It Fl v | |
| 21 Print version information to stdout and exit. | |
| 22 .El | |
| 23 .Sh EXIT STATUS | |
| 24 .Ex -std | |
| 25 .Sh EXAMPLES | |
| 26 $ | |
| 27 .Nm | |
| 28 /usr/sbin/s2ram | |
| 29 .Sh SECURITY CONSIDERATIONS | |
| 30 To make sure a locked screen can not be bypassed by switching VTs | |
| 31 or killing the X server with Ctrl+Alt+Backspace, it is recommended | |
| 32 to disable both in | |
| 33 .Xr xorg.conf 5 | |
| 34 for maximum security: | |
| 35 .Bd -literal | |
| 36 Section "ServerFlags" | |
| 37 Option "DontVTSwitch" "True" | |
| 38 Option "DontZap" "True" | |
| 39 EndSection | |
| 40 .Ed | |
| 41 .Sh CUSTOMIZATION | |
| 42 .Nm | |
| 43 can be customized by creating a custom config.h from config.def.h and | |
| 44 (re)compiling the source code. | |
| 45 This keeps it fast, secure and simple. |