ALOCK(1)
π
ALOCK(1) β your girl's guide to alock
okay so real talk, this is the manual page for alock (that's the whole NAME situation, bestie: alock β locks the local X display until the correct password is entered). pull up a chair, we're getting into it.
β¨ SYNOPSIS β¨
alock [-help] [-modules] [-auth type:opts] [-bg type:opts] [-cursor
type:opts] [-input type:opts]
that's the whole shape of it, no cap π«Ά
πΈ DESCRIPTION πΈ
okay so alock is a simple screen lock application β like, literally its whole personality. it locks your X server until the correct password is provided. if the authentication was successful, the X server is unlocked and you can go back to doing your thing. icon behavior. π
here's the quirky bit: when alock is started it just waits for the first keypress. that first keypress is you saying "yes hi, I would like to type in the password now." at first glance you might be like "why π that's annoying" β however this approach is chosen due to security reasons. so it's not a bug, it's a boundary. periodt. π
heads up bestie:alockdoes not provide any fancy animations likexlockandxscreensaverand probably never will. it's just for locking the current X session. that's it. that's the gig. no screensaver fish tank, no flying toasters. β¨
π OPTIONS π
-h,-helpβ Print a short help-m,-modulesβ List available (compiled in) module types-a,-auth type:optionsβ Define the type of the authentication, depends strongly on howalockwas built:noneβ No authentication at allpamβ Tries to authenticate against the users system-password using thepam-login-module.passwdβ Tries to authenticate against the users system-password. On systems using shadowalockneeds the suid-flag set.hashβ Authenticates using arbitrary hash comparison.listβ display available hashing algorithmstype=<type>β use<type>hashing algorithmhash=<hash>β use<hash>as referencefile=<filename>β use content of<filename>as reference
-b,-bg type:optionsβ Define the type of howalockshould handle the background:noneβ You can see everything like it isblankβ Fill the background with colorcolor=<color>β use<color>
shadeβ Dims content of the screen and recolors it.color=<color>β use<color>shade=<percent>β valid from 1 to 99blur=<percent>β valid from 1 to 99monoβ convert to monochrome
imageβ Use the image<filename>and puts it as the backgroundfile=<filename>centerscaletiledcolor=<color>β use<color>shade=<percent>β valid from 1 to 99
-c,-cursor type:optionsβ Define the look-a-like of the cursor/mouse pointer:noneβ No change to the current cursorglyphβ Use the given glyph of the"cursor"-fontlistβ Display all possible glyph-namesname=<name>bg=<color>fg=<color>
xcursorβ Use the given<filename>in xcursor-formatfile=<filename>
imageβ Use the given<filename>file=<filename>
-i,-input type:optionsβ Define the type of the input indicator, which should be used while typing password:noneβ No input feedback for userframeβ Display frame on the current displaywidth=<width>β the frame width, valid from 1 upwardsinput=<color>β use<color>while typingcheck=<color>β use<color>while checking passworderror=<color>β use<color>upon authentication error
π¦ RESOURCES π¦
okay so these are the X resource names, iykyk β each one maps to a flag above π
ALock.Background.Blank.Colorβ Same as-b blank:color. X color resource name.ALock.Background.Image.Colorβ Same as-b image:color. X color resource name.ALock.Background.Image.Shadeβ Same as-b image:shade. Numerical.ALock.Background.Image.Optionβ Same as-b image:center,-b image:scaleor-b image:tiled. Available option values:center,scale,tiledALock.Background.Shade.Colorβ Same as-b shade:color. X color resource name.ALock.Background.Shade.Shadeβ Same as-b shade:shade. Numerical.ALock.Background.Shade.Blurβ Same as-b shade:blur. Numerical.ALock.Background.Shade.Monoβ Same as-b shade:mono. Boolean.ALock.Cursor.Glyph.Nameβ Same as-c glyph:name. Compiled-in glyph name.ALock.Cursor.Glyph.Backgroundβ Same as-b glyph:bg. X color resource name.ALock.Cursor.Glyph.Foregroundβ Same as-b glyph:fg. X color resource name.ALock.Input.Frame.Color.Inputβ Same as-i frame:input. X color resource name.ALock.Input.Frame.Color.Checkβ Same as-i frame:check. X color resource name.ALock.Input.Frame.Color.Errorβ Same as-i frame:error. X color resource name.ALock.Input.Frame.Widthβ Same as-i frame:width. Numerical.
π AUTHOR π
Originally written by Mathias Gumz <akira at fluxbox.org>, based upon xtrlock. Starting with alock version 2.0, code is maintained by Arkadiusz Bokowy <arkadiusz.bokowy at gmail.com>. legends, honestly π«Άβ¨
π COPYING π
Copyright (C) 2005 - 2009 Mathias Gumz, 2014 Arkadiusz Bokowy. Free use of this software is granted under the terms of the MIT. See LICENSE provided in the distribution.
and that's the whole page bestie β ALOCK(1), dated 02/13/2015, and yes that footer is literally just that same ALOCK(1) tag again at the bottom, cute right π stay locked, stay gorgeous π
β¨
π¦ where this page comes from
- nixos 26.05: alock 2.5.1
- nixpkgs unstable: alock 2.5.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms