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.

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