improved screen locker
C M4 Roff Makefile
Clone or download
Airblader Merge pull request #185 from stapelberg/dpi
Respect Xft.dpi for determining the unlock indicator’s scale factor
Latest commit ad680b4 May 11, 2018
Permalink
Failed to load latest commit information.
.github add CONTRIBUTING.md Jun 3, 2016
m4 Switch to autotools (#163) Dec 2, 2017
pam Switch to autotools (#163) Dec 2, 2017
travis travis: build in Debian sid Docker container May 11, 2018
.clang-format commit missing .clang-format Mar 17, 2015
.gitignore Switch to autotools (#163) Dec 2, 2017
.travis.yml travis: build in Debian sid Docker container May 11, 2018
CHANGELOG Update CHANGELOG and I3LOCK_VERSION Nov 25, 2017
I3LOCK_VERSION Update CHANGELOG and I3LOCK_VERSION Nov 25, 2017
LICENSE update debian packaging, update copyright Jul 13, 2011
Makefile.am Respect Xft.dpi for determining the unlock indicator’s scale factor May 11, 2018
README.md Use RandR for learning about attached monitors Nov 18, 2017
configure.ac Respect Xft.dpi for determining the unlock indicator’s scale factor May 11, 2018
cursors.h clang-format -i **/*.[ch] Mar 16, 2015
dpi.c Respect Xft.dpi for determining the unlock indicator’s scale factor May 11, 2018
dpi.h Respect Xft.dpi for determining the unlock indicator’s scale factor May 11, 2018
i3lock.1 Removed obsolete inactivity timeout (#84) Jul 20, 2016
i3lock.c clang-format-3.5 May 11, 2018
i3lock.h clang-format -i **/*.[ch] Mar 16, 2015
randr.c Rename xinerama.[ch] to randr.[ch] Nov 18, 2017
randr.h Rename xinerama.[ch] to randr.[ch] Nov 18, 2017
unlock_indicator.c Respect Xft.dpi for determining the unlock indicator’s scale factor May 11, 2018
unlock_indicator.h display error when backspace is pressed without any input (#172) Jan 14, 2018
xcb.c Fix memory leak when grabbing fails Mar 9, 2018
xcb.h SetInputFocus to the i3lock window to force-close context menus (#155) Oct 22, 2017

README.md

i3lock - improved screen locker

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.

Many little improvements have been made to i3lock over time:

  • 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)

  • You can specify either a background color or a PNG image which will be displayed while your screen is locked.

  • You can specify whether i3lock should bell upon a wrong password.

  • i3lock uses PAM and therefore is compatible with LDAP etc. On OpenBSD i3lock uses the bsd_auth(3) framework.

Requirements

  • pkg-config
  • libxcb
  • libxcb-util
  • libpam-dev
  • libcairo-dev
  • libxcb-xinerama
  • libxcb-randr
  • libev
  • libx11-dev
  • libx11-xcb-dev
  • libxkbcommon >= 0.5.0
  • libxkbcommon-x11 >= 0.5.0

Running i3lock

Simply invoke the 'i3lock' command. To get out of it, enter your password and press enter.

On OpenBSD the i3lock binary needs to be setgid auth to call the authentication helpers, e.g. /usr/libexec/auth/login_passwd.

Upstream

Please submit pull requests to https://github.com/i3/i3lock