xsecurelock
1.8.0
XSecureLock is an X11 screen lock utility.
Loading...
Searching...
No Matches
env_helpstr.inc
Go to the documentation of this file.
1
"* `XSECURELOCK_AUTH`: specifies the desired authentication module (the part\n"
2
" that displays the authentication prompt).\n"
3
"* `XSECURELOCK_AUTHPROTO`: specifies the desired authentication protocol\n"
4
" module (the part that talks to the system).\n"
5
"* `XSECURELOCK_AUTH_BACKGROUND_COLOR`: specifies the X11 color (see manpage of\n"
6
" XParseColor) for the background of the auth dialog.\n"
7
"* `XSECURELOCK_AUTH_CURSOR_BLINK`: if set, the cursor will blink in the auth\n"
8
" dialog. Enabled by default, can be set to 0 to disable.\n"
9
"* `XSECURELOCK_AUTH_SOUNDS`: specifies whether to play sounds during\n"
10
" authentication to indicate status. Sounds are defined as follows:\n"
11
" * High-pitch ascending: prompt for user input.\n"
12
" * High-pitch constant: an info message was displayed.\n"
13
" * Low-pitch descending: an error message was displayed.\n"
14
" * Medium-pitch ascending: authentication successful.\n"
15
"* `XSECURELOCK_AUTH_FOREGROUND_COLOR`: specifies the X11 color (see manpage of\n"
16
" XParseColor) for the foreground text of the auth dialog.\n"
17
"* `XSECURELOCK_AUTH_TIMEOUT`: specifies the time (in seconds) to wait for\n"
18
" response to a prompt by `auth_x11` before giving up and reverting to\n"
19
" the screen saver.\n"
20
"* `XSECURELOCK_AUTH_WARNING_COLOR`: specifies the X11 color (see manpage of\n"
21
" XParseColor) for the warning text of the auth dialog.\n"
22
"* `XSECURELOCK_BACKGROUND_COLOR`: specifies the X11 color (see manpage\n"
23
" of XParseColor) for the background of the main and saver windows.\n"
24
"* `XSECURELOCK_BLANK_TIMEOUT`: specifies the time (in seconds) before telling\n"
25
" X11 to fully blank the screen; a negative value disables X11 blanking. The\n"
26
" time is measured since the closing of the auth window or xsecurelock\n"
27
" startup. Setting this to 0 is rather nonsensical, as key-release events\n"
28
" (e.g. from the keystroke to launch xsecurelock or from pressing escape to\n"
29
" close the auth dialog) always wake up the screen.\n"
30
"* `XSECURELOCK_BLANK_DPMS_STATE`: specifies which DPMS state to put the screen\n"
31
" in when blanking (one of standby, suspend, off and on, where \"on\" means to\n"
32
" not invoke DPMS at all).\n"
33
"* `XSECURELOCK_BURNIN_MITIGATION`: specifies the number of pixels the prompt\n"
34
" of `auth_x11` may be moved at startup to mitigate possible burn-in\n"
35
" effects due to the auth dialog being displayed all the time (e.g. when\n"
36
" spurious mouse events wake up the screen all the time).\n"
37
"* `XSECURELOCK_BURNIN_MITIGATION_DYNAMIC`: if set to a non-zero value,\n"
38
" `auth_x11` will move the prompt while it is being displayed, but stay\n"
39
" within the bounds of `XSECURELOCK_BURNIN_MITIGATION`. The value of this\n"
40
" variable is the maximum allowed shift per screen refresh. This mitigates\n"
41
" short-term burn-in effects but is probably annoying to most users, and thus\n"
42
" disabled by default.\n"
43
"* `XSECURELOCK_COMPOSITE_OBSCURER`: create a second full-screen window to\n"
44
" obscure window content in case a running compositor unmaps its own window.\n"
45
" Helps with some instances of bad compositor behavior (such as compositor\n"
46
" crashes/restarts, but also compton has been caught at drawing notification\n"
47
" icons above the screen locker when not using the GLX backend), should\n"
48
" prevent compositors from unredirecting as it's 1 pixel smaller than the\n"
49
" screen from every side, and should otherwise be harmless, so it's enabled\n"
50
" by default.\n"
51
"* `XSECURELOCK_DATETIME_FORMAT`: the date format to show. Defaults to the\n"
52
" locale settings. (see `man date` for possible formats)\n"
53
"* `XSECURELOCK_DEBUG_ALLOW_LOCKING_IF_INEFFECTIVE`: Normally we don't allow\n"
54
" locking sessions that are likely not any useful to lock, such as the X11\n"
55
" part of a Wayland session (one could still use Wayland applicatione when\n"
56
" locked) or VNC sessions (as it'd only lock the server side session while\n"
57
" users will likely think they locked the client, allowing for an easy\n"
58
" escape). These checks can be bypassed by setting this variable to 1. Not\n"
59
" recommended other than for debugging XSecureLock itself via such\n"
60
" connections.\n"
61
"* `XSECURELOCK_DEBUG_WINDOW_INFO`: When complaining about another window\n"
62
" misbehaving, print not just the window ID but also some info about it. Uses\n"
63
" the `xwininfo` and `xprop` tools.\n"
64
"* `XSECURELOCK_DIM_ALPHA`: Linear-space opacity to fade the screen to.\n"
65
"* `XSECURELOCK_DIM_COLOR`: X11 color to fade the screen to.\n"
66
"* `XSECURELOCK_DIM_FPS`: Target framerate to attain during the dimming effect\n"
67
" of `dimmer`. Ideally matches the display refresh rate.\n"
68
"* `XSECURELOCK_DIM_MAX_FILL_SIZE`: Maximum size (in width or height) to fill\n"
69
" at once using an XFillRectangle call. Low values may cause performance loss\n"
70
" or noticeable tearing during dimming; high values may cause crashes or hangs\n"
71
" with some graphics drivers or a temporarily unresponsive X server.\n"
72
"* `XSECURELOCK_DIM_OVERRIDE_COMPOSITOR_DETECTION`: When set to 1, always try\n"
73
" to use transparency for dimming; when set to 0, always use a dither\n"
74
" pattern. Default is to autodetect whether transparency will likely work.\n"
75
"* `XSECURELOCK_DIM_TIME_MS`: Milliseconds to dim for when above xss-lock\n"
76
" command line with `dimmer` is used; also used by `wait_nonidle` to know when\n"
77
" to assume dimming and waiting has finished and exit.\n"
78
"* `XSECURELOCK_DISCARD_FIRST_KEYPRESS`: If set to 0, the key pressed to stop\n"
79
" the screen saver and spawn the auth child is sent to the auth child (and\n"
80
" thus becomes part of the password entry). By default we always discard the\n"
81
" key press that started the authentication flow, to prevent users from\n"
82
" getting used to type their password on a blank screen (which could be just\n"
83
" powered off and have a chat client behind or similar).\n"
84
"* `XSECURELOCK_FONT`: X11 or FontConfig font name to use for `auth_x11`.\n"
85
" You can get a list of supported font names by running `xlsfonts` and\n"
86
" `fc-list`.\n"
87
"* `XSECURELOCK_FORCE_GRAB`: When grabbing fails, try stealing the grab from\n"
88
" other windows (a value of `2` steals from all descendants of the root\n"
89
" window, while a value of `1` only steals from client windows). This works\n"
90
" only sometimes and is incompatible with many window managers, so use with\n"
91
" care. See the \"Forcing Grabs\" section below for details.\n"
92
"* `XSECURELOCK_GLOBAL_SAVER`: specifies the desired global screen saver module\n"
93
" (by default this is a multiplexer that runs `XSECURELOCK_SAVER` on each\n"
94
" screen).\n"
95
"* `XSECURELOCK_IDLE_TIMERS`: comma-separated list of idle time counters used\n"
96
" by `until_nonidle`. Typical values are either empty (relies on the X Screen\n"
97
" Saver extension instead), \"IDLETIME\" and \"DEVICEIDLETIME <n>\" where n is an\n"
98
" XInput device index (run `xinput` to see them). If multiple time counters\n"
99
" are specified, the idle time is the minimum of them all. All listed timers\n"
100
" must have the same unit.\n"
101
"* `XSECURELOCK_IMAGE_DURATION_SECONDS`: how long to show each still image\n"
102
" played by `saver_mpv`. Defaults to 1.\n"
103
"* `XSECURELOCK_KEY_%s_COMMAND` where `%s` is the name of an X11 keysym (find\n"
104
" using `xev`): a shell command to execute when the specified key is pressed.\n"
105
" Useful e.g. for media player control. Beware: be cautious about what you\n"
106
" run with this, as it may yield attackers control over your computer.\n"
107
"* `XSECURELOCK_LIST_VIDEOS_COMMAND`: shell command to list all video files to\n"
108
" potentially play by `saver_mpv` or `saver_mplayer`. Defaults to\n"
109
" `find ~/Videos -type f`.\n"
110
"* `XSECURELOCK_NO_COMPOSITE`: disables covering the composite overlay window.\n"
111
" This switches to a more traditional way of locking, but may allow desktop\n"
112
" notifications to be visible on top of the screen lock. Not recommended.\n"
113
"* `XSECURELOCK_NO_PAM_RHOST`: do not set `PAM_RHOST` to `localhost`, despite\n"
114
" [recommendation](http://www.linux-pam.org/Linux-PAM-html/adg-security-user-identity.html)\n"
115
" to do so by the Linux-PAM Application Developers' Guide. This may work\n"
116
" around bugs in third-party PAM authentication modules. If this solves a\n"
117
" problem for you, please report a bug against said PAM module.\n"
118
"* `XSECURELOCK_NO_XRANDR`: disables multi monitor support using XRandR.\n"
119
"* `XSECURELOCK_NO_XRANDR15`: disables multi monitor support using XRandR 1.5\n"
120
" and fall back to XRandR 1.2. Not recommended.\n"
121
"* `XSECURELOCK_PAM_SERVICE`: pam service name. You should have a file with\n"
122
" that name in `/etc/pam.d`.\n"
123
"* `XSECURELOCK_PASSWORD_PROMPT`: Choose password prompt mode:\n"
124
" * `asterisks`: shows asterisks, like classic password prompts. This is\n"
125
" the least secure option because password length is visible.\n"
126
" ***_\n"
127
" *******_\n"
128
" * `cursor`: shows a cursor that jumps around on each key press. This is\n"
129
" the default.\n"
130
" ________|_______________________\n"
131
" ___________________|____________\n"
132
" * `disco`: shows dancers, which dance around on each key press. Requires a\n"
133
" font that can handle Unicode line drawing characters, and FontConfig.\n"
134
" ┏(・o・)┛ ♪ ┗(・o・)┓ ♪ ┏(・o・)┛ ♪ ┗(・o・)┓ ♪ ┏(・o・)┛\n"
135
" ┗(・o・)┓ ♪ ┏(・o・)┛ ♪ ┏(・o・)┛ ♪ ┏(・o・)┛ ♪ ┏(・o・)┛\n"
136
" * `emoji`: shows an emoji, changing which one on each key press. Requires\n"
137
" a font that can handle emoji, and FontConfig.\n"
138
" 👍\n"
139
" 🎶\n"
140
" 💕\n"
141
" * `emoticon`: shows an ascii emoticon, changing which one on each key\n"
142
" press.\n"
143
" :-O\n"
144
" d-X\n"
145
" X-\\\n"
146
" * `hidden`: completely hides the password, and there's no feedback for\n"
147
" keypresses. This would almost be most secure - however as it gives no\n"
148
" feedback to input whatsoever, you may not be able to notice accidentally\n"
149
" typing to another computer and sending your password to some chatroom.\n"
150
" ```\n"
151
" ```\n"
152
" * `kaomoji`: shows a kaomoji (Japanese emoticon), changing which one on\n"
153
" each key press. Requires a Japanese font, and FontConfig.\n"
154
" (͡°͜ʖ͡°)\n"
155
" (^u^)\n"
156
" ¯\\_(ツ)_/¯\n"
157
" * `time`: shows the current time since the epoch on each keystroke. This\n"
158
" may be the most secure mode, as it gives feedback to keystroke based\n"
159
" exclusively on public information, and does not carry over any state\n"
160
" between keystrokes whatsoever - not even some form of randomness.\n"
161
" 1559655410.922329\n"
162
" * `time_hex`: same as `time`, but in microseconds and hexadecimal.\n"
163
" \"Because we can\".\n"
164
" 0x58a7f92bd7359\n"
165
"* `XSECURELOCK_SAVER`: specifies the desired screen saver module.\n"
166
"* `XSECURELOCK_SAVER_RESET_ON_AUTH_CLOSE`: specifies whether to reset the\n"
167
" saver module when the auth dialog closes. Resetting is done by sending\n"
168
" `SIGUSR1` to the saver, which may either just terminate, or handle this\n"
169
" specifically to do a cheaper reset.\n"
170
"* `XSECURELOCK_SHOW_DATETIME`: whether to show local date and time on the\n"
171
" login. Disabled by default.\n"
172
"* `XSECURELOCK_SHOW_HOSTNAME`: whether to show the hostname on the login\n"
173
" screen of `auth_x11`. Possible values are 0 for not showing the\n"
174
" hostname, 1 for showing the short form, and 2 for showing the long form.\n"
175
"* `XSECURELOCK_SHOW_KEYBOARD_LAYOUT`: whether to show the name of the current\n"
176
" keyboard layout. Enabled by default.\n"
177
"* `XSECURELOCK_SHOW_USERNAME`: whether to show the username on the login\n"
178
" screen of `auth_x11`.\n"
179
"* `XSECURELOCK_SINGLE_AUTH_WINDOW`: whether to show only a single auth window\n"
180
" from `auth_x11`, as opposed to one per screen.\n"
181
"* `XSECURELOCK_SWITCH_USER_COMMAND`: shell command to execute when `Win-O` or\n"
182
" `Ctrl-Alt-O` are pressed (think \"_other_ user\"). Typical values could be\n"
183
" `lxdm -c USER_SWITCH`, `dm-tool switch-to-greeter`, `gdmflexiserver` or\n"
184
" `kdmctl reserve`, depending on your desktop environment.\n"
185
"* `XSECURELOCK_VIDEOS_FLAGS`: flags to append when invoking mpv/mplayer with\n"
186
" `saver_mpv` or `saver_mplayer`. Defaults to empty.\n"
187
"* `XSECURELOCK_WAIT_TIME_MS`: Milliseconds to wait after dimming (and before\n"
188
" locking) when above xss-lock command line is used. Should be at least as\n"
189
" large as the period time set using \"xset s\". Also used by `wait_nonidle` to\n"
190
" know when to assume dimming and waiting has finished and exit.\n"
191
"* `XSECURELOCK_SAVER_DELAY_MS`: Milliseconds to wait after starting\n"
192
" children process and before mapping windows to let children be\n"
193
" ready to display and reduce the black flash.\n"
194
"* `XSECURELOCK_SAVER_STOP_ON_DPMS`: specifies if saver is stopped\n"
195
" when DPMS blanks the screen (to save power).\n"
196
"* `XSECURELOCK_XSCREENSAVER_PATH`: Location where XScreenSaver hacks are\n"
197
" installed for use by `saver_xscreensaver`.\n"
Generated on
for xsecurelock by
1.16.1