xsuperlock.1.in 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. .TH @PACKAGE_NAME@ 1 2015-11-02 "@PACKAGE_VERSION@" "@PACKAGE_NAME@"
  2. .SH NAME
  3. .B @PACKAGE_NAME@
  4. \- A screen locker.
  5. .SH SYNOPSIS
  6. .B xsuperlock
  7. [options]
  8. .SH DESCRIPTION
  9. .P
  10. XSuperLock is a program that locks the screen by preventing keyboard and mouse
  11. input from getting to other X clients until the correct password has been
  12. entered. Unlike most minimalistic screen lockers, XSuperLock also displays a
  13. password entry dialog, and optionally, runs an xscreensaver-compatible (see
  14. .BR XScreenSaver (1))
  15. screensaver. Every single detail of XSuperLock's operation is configurable using
  16. X resources.
  17. XSuperLock does not automatically lock the screen after any period of inactivity.
  18. That's
  19. .BR xautolock (1)'s
  20. job.
  21. .SH OPTIONS
  22. .TP
  23. .B \-d, --display
  24. The X server display to use.
  25. .TP
  26. .B \-s, --screensaver
  27. The name of the screensaver executable to run.
  28. .TP
  29. .B \--screensaver-dir
  30. The directory that contains screensavers (@DEFAULT_SCREENSAVER_DIR@ by default)
  31. .TP
  32. .B \-o, --screensaver-opts
  33. Parameters to pass to the screensaver. Remember to enclose them in quotes.
  34. .TP
  35. .B \-f, --fade
  36. Fade before locking.
  37. .TP
  38. .B \-h, --help
  39. Print a help message and exit.
  40. .TP
  41. .B \-V, --version
  42. Print version information.
  43. .SH RESOURCES
  44. .P
  45. The following options can be set using X resources:
  46. .TP
  47. .B screensaverName
  48. The name of the screensaver executable to run.
  49. This option can be overriden on the command line using -s or --screensaver.
  50. Default value: none.
  51. .TP
  52. .B screensaverDir
  53. A path to the directory that contains screensaver executables. This option can
  54. be overriden on the command line using --screensaver-dir.
  55. Default value: "@DEFAULT_SCREENSAVER_DIR@".
  56. .TP
  57. .B screensaverOpts
  58. Parameters to pass to the screensaver.
  59. This option can be overriden on the command line using -o or --screensaver-opts.
  60. Default value: none.
  61. .TP
  62. .B password
  63. The password to use for unlocking the screen.
  64. If it is not specified, @PACKAGE_NAME@ will attempt to use your system account's
  65. password. For that to work, @PACKAGE_NAME@ must be able to access the shadowed
  66. passwords file (see
  67. .BR shadow (5)).
  68. Default value: none.
  69. .TP
  70. .B errorTimeout
  71. The amount of seconds during which @PACKAGE_NAME@ ignores all input after an
  72. incorrect password is entered in the prompt.
  73. Default value: 3.
  74. .TP
  75. .B idleTimeout
  76. The amount of time without user activity, in seconds, after which the dialog
  77. will automatically close and resume the screensaver.
  78. Default value: 30.
  79. .TP
  80. .B fadeTimeout
  81. The duration of the initial fade effect, in milliseconds.
  82. Default value: 2000.
  83. .TP
  84. .B dialogWidth
  85. The width of the password entry dialog, in pixels.
  86. Default value: 400.
  87. .TP
  88. .B dialogHeight
  89. The height of the password entry dialog, in pixels.
  90. Default value: 300.
  91. .TP
  92. .B dialogBgColor
  93. The background color of the password entry dialog.
  94. Default value: EEEE/EEEE/EEEE.
  95. .TP
  96. .B timeFormat
  97. The format of the current time that should be displayed (see
  98. .BR strftime (3)).
  99. Default value: "%I:%M:%S %p".
  100. .TP
  101. .B timeLabelFont
  102. The font that @PACKAGE_NAME@ should try to use to display the current time on
  103. the password entry dialog.
  104. Default value: "sans-18:bold".
  105. .TP
  106. .B timeLabelX
  107. The X coordinate of the label that shows the current time.
  108. Default value: 0.
  109. .TP
  110. .B timeLabelY
  111. The Y coordinate of the label that shows the current time.
  112. Default value: 20.
  113. .TP
  114. .B timeLabelColor
  115. The color of the label that shows the current time.
  116. Default value: 0000/0000/0000.
  117. .TP
  118. .B dateFormat
  119. The format of the current date that should be displayed (see
  120. .BR strftime (3)).
  121. Default value: "%Y/%m/%d".
  122. .TP
  123. .B dateLabelFont
  124. The font that should be used to display the current date on the password entry
  125. dialog.
  126. Default value: "sans-12".
  127. .TP
  128. .B dateLabelX
  129. The X coordinate of the label that shows the current date.
  130. Default value: 0.
  131. .TP
  132. .B dateLabelY
  133. The Y coordinate of the label that shows the current time.
  134. Default value: 45.
  135. .TP
  136. .B dateLabelColor
  137. The color of the label that shows the current date.
  138. Default value: 0000/0000/0000.
  139. .TP
  140. .B fullnameLabel
  141. A string that describes what should be displayed on the label that shows the
  142. current user's full name, as explained above.
  143. Default value: "%F".
  144. .TP
  145. .B fullnameLabelFont
  146. The font that should be used to display the current user's full name on the
  147. password entry dialog.
  148. Default value: "sans-18".
  149. .TP
  150. .B fullnameLabelX
  151. The X coordinate of the label that shows the current user's full name.
  152. Default value: 0.
  153. .TP
  154. .B fullnameLabelY
  155. The Y coordinate of the label that shows the current user's full name.
  156. Default value: 100.
  157. .TP
  158. .B fullnameLabelColor
  159. The color of the label that shows the current user's full name.
  160. Default value: 0000/0000/0000.
  161. .TP
  162. .B usernameLabel
  163. A string that describes what should be displayed on the label that shows the
  164. current user's account name, as explained above.
  165. Default value: "%n on %H".
  166. .TP
  167. .B usernameLabelFont
  168. The font that should be used to display the current user's account name on the
  169. password entry dialog.
  170. Default value: "sans-10".
  171. .TP
  172. .B usernameLabelX
  173. The X coordinate of the label that shows the current user's account name.
  174. Default value: 0.
  175. .TP
  176. .B usernameLabelY
  177. The Y coordinate of the label that shows the current user's account name.
  178. Default value: 130.
  179. .TP
  180. .B usernameLabelColor
  181. The color of the label that shows the current user's account name.
  182. Default value: 0000/0000/0000.
  183. .TP
  184. .B passwordLabel
  185. The text on the label that is, by default, to the left of the password field.
  186. Default value: "Password:".
  187. .TP
  188. .B passwordLabelFont
  189. The font that should be used to display the password entry field's label.
  190. Default value: "sans-10".
  191. .TP
  192. .B passwordLabelX
  193. The X coordinate of the password entry field's label.
  194. Default value: 30.
  195. .TP
  196. .B passwordLabelY
  197. The Y coordinate of the password entry field's label.
  198. Default value: 200.
  199. .TP
  200. .B passwordLabelColor
  201. The color of the password entry field's label.
  202. Default value: 0000/0000/0000.
  203. .TP
  204. .B passwordDotSize
  205. The diameter of the dots that are shown in the password field instead of
  206. characters.
  207. .TP
  208. .B passwordFieldWidth
  209. The width of the password entry field, in pixels.
  210. Default value: 250.
  211. .TP
  212. .B passwordFieldHeight
  213. The height of the password entry field, in pixels.
  214. Default value: 20.
  215. .TP
  216. .B passwordFieldBorderWidth
  217. The width of the border that surrounds the password entry field, in pixels.
  218. Default value: 2.
  219. .TP
  220. .B passwordFieldX
  221. The X coordinate of the password entry field.
  222. Default value: -30.
  223. .TP
  224. .B passwordFieldY
  225. The Y coordinate of the password entry field.
  226. Default value: 195.
  227. .TP
  228. .B passwordFieldBorderColor
  229. The color of the password entry field's border.
  230. Default value: 0000/0000/0000.
  231. .TP
  232. .B passwordFieldBgColor
  233. The background color of the password entry field.
  234. Default value: FFFF/FFFF/FFFF.
  235. .TP
  236. .B passwordFieldDotColor
  237. The color of the dots displayed instead of characters in the password entry
  238. field.
  239. Default value: 0000/0000/0000.
  240. .TP
  241. .B incorrectLabel
  242. The text to display when an incorrect password has been entered.
  243. Default value: "Incorrect password!".
  244. .TP
  245. .B incorrectLabelFont
  246. The font of the label that is displayed when an incorrect password has been
  247. entered.
  248. Default value: "sans-10:bold".
  249. .TP
  250. .B incorrectLabelX
  251. The X coordinate of the label that is displayed when an incorrect password has
  252. been entered.
  253. Default value: 0.
  254. .TP
  255. .B incorrectLabelY
  256. The Y coordinate of the label that is displayed when an incorrect password has
  257. been entered.
  258. Default value: 225.
  259. .TP
  260. .B incorrectLabelColor
  261. The color of the label that is displayed when an incorrect password has been
  262. entered.
  263. Default value: FFFF/0000/0000.
  264. .TP
  265. .B buttonWidth
  266. The width, in pixels, of all the buttons on the password entry dialog.
  267. Default value: 95.
  268. .TP
  269. .B buttonHeight
  270. The height, in pixels, of all the buttons on the password entry dialog.
  271. Default value: 25.
  272. .TP
  273. .B buttonBorderWidth
  274. The width of the border for all buttons on the password entry dialog.
  275. Default value: 2.
  276. .TP
  277. .B buttonLabelFont
  278. The font used for button labels.
  279. Default value: "sans-10".
  280. .TP
  281. .B unlockButtonLabel
  282. The label on the button used for confirming the password to unlock the screen.
  283. Default value: "Unlock".
  284. .TP
  285. .B unlockButtonX
  286. The X coordinate of the "unlock" button.
  287. Default value: 100.
  288. .TP
  289. .B unlockButtonY
  290. The Y coordinate of the "unlock" button.
  291. Default value: 260.
  292. .TP
  293. .B unlockButtonBgColor
  294. The background color of the "unlock" button.
  295. Default value: FFFF/FFFF/FFFF.
  296. .TP
  297. .B unlockButtonBorderColor
  298. The border color of the "unlock" button.
  299. Default value: 0000/0000/0000.
  300. .TP
  301. .B unlockButtonLabelColor
  302. The label color of the "unlock" button.
  303. Default value: 0000/0000/0000.
  304. .TP
  305. .B cancelButtonLabel
  306. The label on the button used for closing the dialog while keeping the screen
  307. locked.
  308. Default value: "Cancel".
  309. .TP
  310. .B cancelButtonX
  311. The X coordinate of the "cancel" button.
  312. Default value: 205.
  313. .TP
  314. .B cancelButtonY
  315. The Y coordinate of the "cancel" button.
  316. Default value: 260.
  317. .TP
  318. .B cancelButtonBgColor
  319. The background color of the "cancel" button.
  320. Default value: FFFF/FFFF/FFFF.
  321. .TP
  322. .B cancelButtonBorderColor
  323. The border color of the "cancel" button.
  324. Default value: 0000/0000/0000.
  325. .TP
  326. .B cancelButtonLabelColor
  327. The label color of the "cancel" button.
  328. Default value: 0000/0000/0000.
  329. .SH NOTES
  330. .P
  331. In the above list of resource options, the way in which certain configuration
  332. values are interpreted is not trivial. The following list explains how
  333. @PACKAGE_NAME@ interprets certain types of configuration values:
  334. .TP
  335. .B Colors
  336. Colors are specified as three 4-digit hexadecimal numbers separated by slashes.
  337. The numbers determine the amounts of red, green and blue, respectively.
  338. .TP
  339. .B Fonts
  340. Fonts are specified by their Xft font names. See
  341. .BR Xft (3).
  342. .TP
  343. .B X coordinates
  344. If the amount of pixels is positive, the object will be left-aligned and
  345. indented by the specified amount of pixels; if it is zero, the object will be
  346. horizontally centered; and if it is negative, the object will be right-aligned
  347. and indented by the absolute value of the specified amount of pixels.
  348. .TP
  349. .B Y coordinates
  350. If the amount of pixels is positive, the object will be top-aligned and
  351. indented by the specified amount of pixels; if it is zero, the object will be
  352. vertically centered; and if it is negative, the object will be bottom-aligned
  353. and indented by the absolute value of the specified amount of pixels.
  354. .P
  355. In the text of the labels that are, by default, used to display the full name
  356. and the account name of the current user, the following character sequences
  357. are replaced by the value they specify:
  358. .TP
  359. .B %n
  360. The account name of the current user.
  361. .TP
  362. .B %u
  363. The UID (user ID) of the current user.
  364. .TP
  365. .B %g
  366. The GID (group ID) of the current user's default group.
  367. .TP
  368. .B %h
  369. The path to the current user's home directory.
  370. .TP
  371. .B %H
  372. The hostname of the local machine.
  373. .TP
  374. .B %s
  375. The default shell of the current user.
  376. .TP
  377. .B %F
  378. The full name of the current user.
  379. .SH BUGS
  380. None that I know of.