X-Git-Url: https://git.xinqibao.xyz/slock.git/blobdiff_plain/a9eddbd94fb03a36186ef2b1e784468dfcddbc19..refs/heads/master:/slock.1 diff --git a/slock.1 b/slock.1 index 2b2b7c8..946165f 100644 --- a/slock.1 +++ b/slock.1 @@ -6,6 +6,8 @@ .Sh SYNOPSIS .Nm .Op Fl v +.Op Fl f +.Op Fl m Ar message .Op Ar cmd Op Ar arg ... .Sh DESCRIPTION .Nm @@ -16,7 +18,24 @@ is executed after the screen has been locked. .Bl -tag -width Ds .It Fl v Print version information to stdout and exit. +.It Fl f +List all valid X fonts and exit. +.It Fl m Ar message +Overrides default slock lock message. +.TP .El +.Sh 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 +.Xr xorg.conf 5 +for maximum security: +.Bd -literal -offset left +Section "ServerFlags" + Option "DontVTSwitch" "True" + Option "DontZap" "True" +EndSection +.Ed .Sh EXAMPLES $ .Nm