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