2009-03-11 18:44:39 -04:00
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\ $1
. .
.de Ve \" End verbatim text
.ft R
.fi
. .
2016-02-18 12:54:35 -05:00
.TH i3lock-color 1 "JANUARY 2012" Linux "User Manuals"
2009-03-11 18:44:39 -04:00
.SH NAME
2016-02-18 12:54:35 -05:00
i3lock-color \- improved screen locker
2009-03-11 18:44:39 -04:00
.SH SYNOPSIS
2016-02-18 12:54:35 -05:00
.B i3lock-color
2009-05-10 06:48:16 -04:00
.RB [\|\-v\|]
.RB [\|\-n\|]
.RB [\|\-b\|]
2009-06-27 17:06:44 -04:00
.RB [\|\-i
2010-07-16 11:56:15 -04:00
.IR image.png \| ]
2009-07-31 15:35:40 -04:00
.RB [\|\-c
.IR color \| ]
2009-08-02 13:59:16 -04:00
.RB [\|\-t\|]
2010-07-16 12:15:31 -04:00
.RB [\|\-p
2010-07-02 18:24:50 -04:00
.IR pointer\|]
2012-03-15 08:32:56 -04:00
.RB [\|\-u\|]
2013-08-26 17:39:38 -04:00
.RB [\|\-e\|]
2014-07-24 16:32:07 -04:00
.RB [\|\-f\|]
2009-03-11 18:44:39 -04:00
.SH DESCRIPTION
2016-02-18 12:54:35 -05:00
.B i3lock-color
2010-07-16 11:56:15 -04:00
is a simple screen locker like slock. After starting it, you will see a white
screen (you can configure the color/an image). You can return to your screen by
2010-07-20 19:45:11 -04:00
entering your password.
2009-03-11 18:44:39 -04:00
2010-07-16 11:56:15 -04:00
.SH IMPROVEMENTS
2009-03-11 18:44:39 -04:00
2013-08-31 08:00:16 -04:00
.IP \[ bu] 2
i3lock forks, so you can combine it with an alias to suspend to RAM (run "i3lock && echo mem > /sys/power/state" to get a locked screen after waking up your computer from suspend to RAM)
.IP \[ bu]
You can specify either a background color or a PNG image which will be displayed while your screen is locked.
.IP \[ bu]
You can specify whether i3lock should bell upon a wrong password.
.IP \[ bu]
i3lock uses PAM and therefore is compatible with LDAP, etc.
2009-03-11 18:44:39 -04:00
2009-05-10 06:48:16 -04:00
.SH OPTIONS
.TP
.B \- v, \- \- version
Display the version of your
2009-03-11 18:44:39 -04:00
.B i3lock
2009-05-10 06:48:16 -04:00
.TP
.B \- n, \- \- nofork
Don't fork after starting.
.TP
.B \- b, \- \- beep
Enable beeping. Be sure to not do this when you are about to annoy other people,
like when opening your laptop in a boring lecture.
2011-12-28 14:28:18 -05:00
.TP
.B \- u, \- \- no-unlock-indicator
2013-08-31 08:00:16 -04:00
Disable the unlock indicator. i3lock will by default show an unlock indicator
2011-12-28 14:28:18 -05:00
after pressing keys. This will give feedback for every keypress and it will
show you the current PAM state (whether your password is currently being
verified or whether it is wrong).
2009-06-27 17:06:44 -04:00
.TP
2011-09-25 08:34:26 -04:00
.BI \- i\ path \fR ,\ \fB \- \- image= path
2010-07-16 14:55:20 -04:00
Display the given PNG image instead of a blank screen.
2009-06-27 17:06:44 -04:00
2009-07-31 15:35:40 -04:00
.TP
2011-09-25 08:34:26 -04:00
.BI \- c\ rrggbb \fR ,\ \fB \- \- color= rrggbb
2014-03-18 16:40:17 -04:00
Turn the screen into the given color instead of white. Color must be given in 3-byte
2013-08-31 08:00:16 -04:00
format: rrggbb (i.e. ff0000 is red).
2009-07-31 15:35:40 -04:00
2009-08-02 13:59:16 -04:00
.TP
2010-07-16 14:36:11 -04:00
.B \- t, \- \- tiling
2012-03-15 08:32:34 -04:00
If an image is specified (via \- i) it will display the image tiled all over the screen
2009-08-02 15:47:39 -04:00
(if it is a multi-monitor setup, the image is visible on all screens).
2009-08-02 13:59:16 -04:00
2010-07-02 18:24:50 -04:00
.TP
2011-09-25 08:34:26 -04:00
.BI \- p\ win|default \fR ,\ \fB \- \- pointer= win|default
2010-07-02 18:24:50 -04:00
If you specify "default",
.B i3lock
2013-08-31 08:00:16 -04:00
does not hide your mouse pointer. If you specify "win",
2010-07-02 18:24:50 -04:00
.B i3lock
2013-08-31 08:00:16 -04:00
displays a hardcoded Windows-Pointer (thus enabling you to mess with your
friends by using a screenshot of a Windows desktop as a locking-screen).
2010-07-02 18:24:50 -04:00
2013-08-26 17:39:38 -04:00
.TP
.B \- e, \- \- ignore-empty-password
When an empty password is provided by the user, do not validate
it. Without this option, the empty password will be provided to PAM
and, if invalid, the user will have to wait a few seconds before
another try. This can be useful if the XF86ScreenSaver key is used to
put a laptop to sleep and bounce on resume or if you happen to wake up
your computer with the enter key.
2014-07-24 16:32:07 -04:00
.TP
.B \- f, \- \- show-failed-attempts
Show the number of failed attempts, if any.
2014-12-27 15:54:41 -05:00
.TP
.B \- \- debug
Enables debug logging.
2014-12-27 16:19:07 -05:00
Note, that this will log the password used for authentication to stdout.
2014-12-27 15:54:41 -05:00
2015-08-11 15:50:42 -04:00
.SH DPMS
The \- d (\- \- dpms) option was removed from i3lock in version 2.8. There were
plenty of use-cases that were not properly addressed, and plenty of bugs
surrounding that feature. While features are not normally removed from i3 and
its tools, we felt the need to make an exception in this case.
Users who wish to explicitly enable DPMS only when their screen is locked can
use a wrapper script around i3lock like the following:
.Vb 6
\& #!/bin/sh
\& revert() {
\& xset dpms 0 0 0
\& }
2016-06-20 13:46:38 -04:00
\& trap revert HUP INT TERM
2015-08-11 15:50:42 -04:00
\& xset +dpms dpms 5 5 5
\& i3lock -n
\& revert
.Ve
2016-07-20 02:50:07 -04:00
The \- I (-\- inactivity-timeout=seconds) was removed because it only makes sense with DPMS.
2012-02-23 11:03:59 -05:00
.SH SEE ALSO
.IR xautolock(1)
\- use i3lock as your screen saver
2009-03-11 18:44:39 -04:00
.SH AUTHOR
Michael Stapelberg <michael+i3lock at stapelberg dot de>
2009-08-02 15:47:39 -04:00
Jan-Erik Rediger <badboy at archlinux.us>