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.

153 lines
4.1 KiB

15 years ago
15 years ago
15 years ago
15 years ago
13 years ago
  1. .de Vb \" Begin verbatim text
  2. .ft CW
  3. .nf
  4. .ne \\$1
  5. ..
  6. .de Ve \" End verbatim text
  7. .ft R
  8. .fi
  9. ..
  10. .TH i3lock 1 "JANUARY 2012" Linux "User Manuals"
  11. .SH NAME
  12. i3lock \- improved screen locker
  13. .SH SYNOPSIS
  14. .B i3lock
  15. .RB [\|\-v\|]
  16. .RB [\|\-n\|]
  17. .RB [\|\-b\|]
  18. .RB [\|\-i
  19. .IR image.png \|]
  20. .RB [\|\-c
  21. .IR color \|]
  22. .RB [\|\-t\|]
  23. .RB [\|\-p
  24. .IR pointer\|]
  25. .RB [\|\-u\|]
  26. .RB [\|\-e\|]
  27. .RB [\|\-f\|]
  28. .RB [\|\-l\|]
  29. .SH DESCRIPTION
  30. .B i3lock
  31. is a simple screen locker like slock. After starting it, you will see a white
  32. screen (you can configure the color/an image). You can return to your screen by
  33. entering your password.
  34. .SH IMPROVEMENTS
  35. .IP \[bu] 2
  36. 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)
  37. .IP \[bu]
  38. You can specify either a background color or a PNG image which will be displayed while your screen is locked.
  39. .IP \[bu]
  40. You can specify whether i3lock should bell upon a wrong password.
  41. .IP \[bu]
  42. i3lock uses PAM and therefore is compatible with LDAP, etc.
  43. .SH OPTIONS
  44. .TP
  45. .B \-v, \-\-version
  46. Display the version of your
  47. .B i3lock
  48. .TP
  49. .B \-n, \-\-nofork
  50. Don't fork after starting.
  51. .TP
  52. .B \-b, \-\-beep
  53. Enable beeping. Be sure to not do this when you are about to annoy other people,
  54. like when opening your laptop in a boring lecture.
  55. .TP
  56. .B \-u, \-\-no-unlock-indicator
  57. Disable the unlock indicator. i3lock will by default show an unlock indicator
  58. after pressing keys. This will give feedback for every keypress and it will
  59. show you the current PAM state (whether your password is currently being
  60. verified or whether it is wrong).
  61. .TP
  62. .BI \-i\ path \fR,\ \fB\-\-image= path
  63. Display the given PNG image instead of a blank screen.
  64. .TP
  65. .BI \-c\ rrggbb \fR,\ \fB\-\-color= rrggbb
  66. Turn the screen into the given color instead of white. Color must be given in 3-byte
  67. format: rrggbb (i.e. ff0000 is red).
  68. .TP
  69. .B \-t, \-\-tiling
  70. If an image is specified (via \-i) it will display the image tiled all over the screen
  71. (if it is a multi-monitor setup, the image is visible on all screens).
  72. .TP
  73. .BI \-p\ win|default \fR,\ \fB\-\-pointer= win|default
  74. If you specify "default",
  75. .B i3lock
  76. does not hide your mouse pointer. If you specify "win",
  77. .B i3lock
  78. displays a hardcoded Windows-Pointer (thus enabling you to mess with your
  79. friends by using a screenshot of a Windows desktop as a locking-screen).
  80. .TP
  81. .B \-e, \-\-ignore-empty-password
  82. When an empty password is provided by the user, do not validate
  83. it. Without this option, the empty password will be provided to PAM
  84. and, if invalid, the user will have to wait a few seconds before
  85. another try. This can be useful if the XF86ScreenSaver key is used to
  86. put a laptop to sleep and bounce on resume or if you happen to wake up
  87. your computer with the enter key.
  88. .TP
  89. .B \-f, \-\-show-failed-attempts
  90. Show the number of failed attempts, if any.
  91. .TP
  92. .B \-l, \-\-lock-console
  93. Lock the console to disable TTY switching (Linux only).
  94. .TP
  95. .B \-\-debug
  96. Enables debug logging.
  97. Note, that this will log the password used for authentication to stdout.
  98. .TP
  99. .B \-o, \-\-use-composite-overlay
  100. Use the composite overlay window. For some compositors it might fix windows
  101. appearing on top of the lock screen, for other compositors it might break.
  102. .SH DPMS
  103. The \-d (\-\-dpms) option was removed from i3lock in version 2.8. There were
  104. plenty of use-cases that were not properly addressed, and plenty of bugs
  105. surrounding that feature. While features are not normally removed from i3 and
  106. its tools, we felt the need to make an exception in this case.
  107. Users who wish to explicitly enable DPMS only when their screen is locked can
  108. use a wrapper script around i3lock like the following:
  109. .Vb 6
  110. \& #!/bin/sh
  111. \& revert() {
  112. \& xset dpms 0 0 0
  113. \& }
  114. \& trap revert HUP INT TERM
  115. \& xset +dpms dpms 5 5 5
  116. \& i3lock -n
  117. \& revert
  118. .Ve
  119. The \-I (-\-inactivity-timeout=seconds) was removed because it only makes sense with DPMS.
  120. .SH SEE ALSO
  121. .IR xautolock(1)
  122. \- use i3lock as your screen saver
  123. .SH AUTHOR
  124. Michael Stapelberg <michael+i3lock at stapelberg dot de>
  125. Jan-Erik Rediger <badboy at archlinux.us>