i3lock(1) [debian man page]
i3lock(1) User Manuals i3lock(1) NAME
i3lock - improved screen locker SYNOPSIS
i3lock [-v] [-n] [-b] [-d] [-i image.png] [-c color] [-t] [-p pointer] [-u] DESCRIPTION
i3lock is a simple screen locker like slock. After starting it, you will see a white screen (you can configure the color/an image). You can return to your screen by entering your password. IMPROVEMENTS
* 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) * You can specify either a background color or a PNG image which will be displayed while your screen is locked. * You can specify whether i3lock should bell upon a wrong password. * i3lock uses PAM and therefore is compatible with LDAP etc. OPTIONS
-v, --version Display the version of your i3lock -n, --nofork Don't fork after starting. -b, --beep Enable beeping. Be sure to not do this when you are about to annoy other people, like when opening your laptop in a boring lecture. -d, --dpms Enable turning off your screen using DPMS. Note that, when you do not specify this option, DPMS will turn off your screen after 15 minutes of inactivity anyways (if you did not disable this in your X server). -u, --no-unlock-indicator Disables the unlock indicator. i3lock will by default show an unlock indicator after pressing keys. This will give feedback for every keypress and it will show you the current PAM state (whether your password is currently being verified or whether it is wrong). -i path, --image=path Display the given PNG image instead of a blank screen. -c rrggbb, --color=rrggbb Turns the screen into the given color instead of white. Color must be given in 6-byte format: rrggbb (i.e. ff0000 is red) -t, --tiling If an image is specified (via -i) it will display the image tiled all over the screen (if it is a multi-monitor setup, the image is visible on all screens). -p win|default, --pointer=win|default If you specify "default", i3lock does not hide your Mousepointer. If you specify "win", i3lock displays a hardcoded Windows-Pointer (thus enabling you to fuck with your friends by using a Screenshot of a Windows-Desktop as a locking-screen). SEE ALSO
xautolock(1) - use i3lock as your screen saver AUTHOR
Michael Stapelberg <michael+i3lock at stapelberg dot de> Jan-Erik Rediger <badboy at archlinux.us> Linux JANUARY 2012 i3lock(1)
Check Out this Related Man Page
XSetScreenSaver() XSetScreenSaver() Name XSetScreenSaver - set the parameters of the screen saver. Synopsis XSetScreenSaver(display, timeout, interval, prefer_blanking, allow_exposures) Display *display; int timeout, interval; int prefer_blanking; int allow_exposures; Arguments display Specifies a connection to an X server; returned from XOpenDisplay(). timeout Specifies the time of inactivity, in seconds, before the screen saver turns on. interval Specifies the interval, in seconds, between screen saver invocations. This is for intermittent changes to the display, not blanking. prefer_blanking Specifies whether to enable screen blanking. Possible values are DontPreferBlanking, PreferBlanking, or DefaultBlanking. allow_exposures Specifies the current screen saver control values. Possible values are DontAllowExposures, AllowExposures, or DefaultExposures. Description XSetScreenSaver() sets the parameters that control the screen saver. timeout and interval are specified in seconds. A positive timeout enables the screen saver. A timeout of zero (0) disables the screen saver, while a timeout of -1 restores the default. An interval of zero (0) disables the random pattern motion. If no input from devices (keyboard, mouse, etc.) is generated for the specified number of timeout seconds, the screen saver is activated. For each screen, if blanking is preferred and the hardware supports video blanking, the screen will simply go blank. Otherwise, if either exposures are allowed or the screen can be regenerated without sending exposure events to clients, the screen is tiled with the root window background tile, with a random origin, each interval seconds. Otherwise, the state of the screen does not change. All screen states are restored at the next input from a device. If the server-dependent screen saver method supports periodic change, interval serves as a hint about how long the change period should be, and a value of zero (0) hints that no periodic change should be made. Examples of ways to change the screen include scrambling the color map periodically, moving an icon image about the screen periodically, or tiling the screen with the root window background tile, randomly reoriginated periodically. For more information on the screen saver, see Volume One, Chapter 15, Other Programming Techniques. Errors BadValue timeout < -1. See Also XActivateScreenSaver(), XForceScreenSaver(), XGetScreenSaver(), XResetScreenSaver(). Xlib - Screen Saver XSetScreenSaver()