You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.9 KiB

15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
15 years ago
  1. i3lock - improved screen locker
  2. ===============================
  3. i3lock is a simple screen locker like slock. After starting it, you will
  4. see a white screen (you can configure the color/an image). You can return
  5. to your screen by entering your password.
  6. Many little improvements have been made to i3lock over time:
  7. - i3lock forks, so you can combine it with an alias to suspend to RAM
  8. (run "i3lock && echo mem > /sys/power/state" to get a locked screen
  9. after waking up your computer from suspend to RAM)
  10. - You can specify either a background color or a PNG image which will be
  11. displayed while your screen is locked.
  12. - You can specify whether i3lock should bell upon a wrong password.
  13. - i3lock uses PAM and therefore is compatible with LDAP etc.
  14. On OpenBSD i3lock uses the bsd_auth(3) framework.
  15. Running i3lock
  16. -------------
  17. Ubuntu:
  18. ```
  19. sudo apt-get install i3lock
  20. ```
  21. For other operating systems, see Requirements and Building below.
  22. Requirements
  23. ------------
  24. - pkg-config
  25. - libxcb
  26. - libxcb-util
  27. - libpam-dev
  28. - libcairo-dev
  29. - libxcb-xinerama
  30. - libxcb-randr
  31. - libev
  32. - libx11-dev
  33. - libx11-xcb-dev
  34. - libxkbcommon >= 0.5.0
  35. - libxkbcommon-x11 >= 0.5.0
  36. Running i3lock
  37. -------------
  38. Simply invoke the 'i3lock' command. To get out of it, enter your password and
  39. press enter.
  40. On OpenBSD the `i3lock` binary needs to be setgid `auth` to call the
  41. authentication helpers, e.g. `/usr/libexec/auth/login_passwd`.
  42. Building i3lock
  43. ---------------
  44. We recommend you use the provided package from your distribution. Do not build
  45. i3lock unless you have a reason to do so.
  46. First install the dependencies listed in requirements section, then run these
  47. commands (might need to be adapted to your OS):
  48. ```
  49. autoreconf --force --install
  50. rm -rf build/
  51. mkdir -p build && cd build/
  52. ../configure \
  53. --prefix=/usr \
  54. --sysconfdir=/etc \
  55. --disable-sanitizers
  56. make
  57. ```
  58. Upstream
  59. --------
  60. Please submit pull requests to https://github.com/i3/i3lock