Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  I3LOCK (1)


i3lock - improved screen locker


See Also


i3lock [-v] [-n] [-b] [-d] [-i image.png] [-c color] [-t] [-p pointer] [-u] [-e] [-I] [-f]


i3lock 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 entering your password.


[bu] 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)
[bu] You can specify either a background color or a PNG image which will be displayed while your screen is locked.
[bu] You can specify whether i3lock should bell upon a wrong password.
[bu] i3lock uses PAM and therefore is compatible with LDAP, etc.


-v, --version
  Display the version of your i3lock

-n, --nofork
  Don’t fork after starting.

-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.

-d, --dpms
  Enable turning off your screen using DPMS. Note that, when you do not specify this option, DPMS will turn off your screen after 15 minutes of inactivity anyways (if you did not disable this in your X server).

-I, --inactivity-timeout
  Specifies the number of seconds i3lock will wait for another password before turning off the monitors, in case you entered a wrong password or canceled by pressing Escape. Only makes sense together with -d. If omitted, the default is 30 seconds.

-u, --no-unlock-indicator
  Disable the unlock indicator. i3lock will by default show an unlock indicator 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).

-i path, --image=path
  Display the given PNG image instead of a blank screen.

-c rrggbb, --color=rrggbb
  Turn the screen into the given color instead of white. Color must be given in 3-byte format: rrggbb (i.e. ff0000 is red).

-t, --tiling
  If an image is specified (via -i) it will display the image tiled all over the screen (if it is a multi-monitor setup, the image is visible on all screens).

-p win|default, --pointer=win|default
  If you specify "default", i3lock does not hide your mouse pointer. If you specify "win", i3lock 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).

-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.

-f, --show-failed-attempts
  Show the number of failed attempts, if any.

  Enables debug logging. Note, that this will log the password used for authentication to stdout.


xautolock(1) - use i3lock as your screen saver


Michael Stapelberg <michael+i3lock at stapelberg dot de>

Jan-Erik Rediger <badboy at>

Search for    or go to Top of page |  Section 1 |  Main Index

Linux I3LOCK (1) JANUARY 2012

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.