slock.1 (1015B)
1 .Dd 2016-08-23 2 .Dt SLOCK 1 3 .Sh NAME 4 .Nm slock 5 .Nd simple X screen locker 6 .Sh SYNOPSIS 7 .Nm 8 .Op Fl v 9 .Op Fl f 10 .Op Fl m Ar message 11 .Op Ar cmd Op Ar arg ... 12 .Sh DESCRIPTION 13 .Nm 14 is a simple X screen locker. If provided, 15 .Ar cmd Op Ar arg ... 16 is executed after the screen has been locked. 17 .Sh OPTIONS 18 .Bl -tag -width Ds 19 .It Fl v 20 Print version information to stdout and exit. 21 .It Fl f 22 List all valid X fonts and exit. 23 .It Fl m Ar message 24 Overrides default slock lock message. 25 .TP 26 .El 27 .Sh SECURITY CONSIDERATIONS 28 To make sure a locked screen can not be bypassed by switching VTs 29 or killing the X server with Ctrl+Alt+Backspace, it is recommended 30 to disable both in 31 .Xr xorg.conf 5 32 for maximum security: 33 .Bd -literal -offset left 34 Section "ServerFlags" 35 Option "DontVTSwitch" "True" 36 Option "DontZap" "True" 37 EndSection 38 .Ed 39 .Sh EXAMPLES 40 $ 41 .Nm 42 /usr/sbin/s2ram 43 .Sh CUSTOMIZATION 44 .Nm 45 can be customized by creating a custom config.h from config.def.h and 46 (re)compiling the source code. This keeps it fast, secure and simple.