mirror of https://github.com/i3/i3lock.git
recommend using xss-lock to start i3lock
related to https://github.com/i3/i3lock/issues/207 related to https://github.com/i3/i3lock/issues/311 fixes https://github.com/i3/i3lock/issues/310pull/312/head
parent
eb761b16ad
commit
2ab9a397ab
12
README.md
12
README.md
|
@ -44,8 +44,16 @@ Requirements
|
||||||
|
|
||||||
Running i3lock
|
Running i3lock
|
||||||
-------------
|
-------------
|
||||||
Simply invoke the 'i3lock' command. To get out of it, enter your password and
|
|
||||||
press enter.
|
To test i3lock, you can directly run the `i3lock` command. To get out of it,
|
||||||
|
enter your password and press enter.
|
||||||
|
|
||||||
|
For a more permanent setup, we strongly recommend using `xss-lock` so that the
|
||||||
|
screen is locked *before* your laptop suspends:
|
||||||
|
|
||||||
|
```
|
||||||
|
xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||||
|
```
|
||||||
|
|
||||||
On OpenBSD the `i3lock` binary needs to be setgid `auth` to call the
|
On OpenBSD the `i3lock` binary needs to be setgid `auth` to call the
|
||||||
authentication helpers, e.g. `/usr/libexec/auth/login_passwd`.
|
authentication helpers, e.g. `/usr/libexec/auth/login_passwd`.
|
||||||
|
|
18
i3lock.1
18
i3lock.1
|
@ -29,6 +29,20 @@ i3lock \- improved screen locker
|
||||||
.RB [\|\-e\|]
|
.RB [\|\-e\|]
|
||||||
.RB [\|\-f\|]
|
.RB [\|\-f\|]
|
||||||
|
|
||||||
|
.SH RECOMMENDED USAGE
|
||||||
|
.RB xss-lock
|
||||||
|
.RB --transfer-sleep-lock
|
||||||
|
.RB --
|
||||||
|
.RB i3lock
|
||||||
|
.RB --nofork
|
||||||
|
|
||||||
|
Using
|
||||||
|
.B xss-lock
|
||||||
|
ensures that your screen is locked before your laptop suspends.
|
||||||
|
|
||||||
|
Notably, using a systemd service file is not adequate, as it will not delay
|
||||||
|
suspend until your screen is locked.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B i3lock
|
.B i3lock
|
||||||
is a simple screen locker like slock. After starting it, you will see a white
|
is a simple screen locker like slock. After starting it, you will see a white
|
||||||
|
@ -161,8 +175,8 @@ use a wrapper script around i3lock like the following:
|
||||||
The \-I (-\-inactivity-timeout=seconds) was removed because it only makes sense with DPMS.
|
The \-I (-\-inactivity-timeout=seconds) was removed because it only makes sense with DPMS.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.IR xautolock(1)
|
.IR xss-lock(1)
|
||||||
\- use i3lock as your screen saver
|
\- hooks up i3lock to the systemd login manager
|
||||||
|
|
||||||
.IR convert(1)
|
.IR convert(1)
|
||||||
\- feed a wide variety of image formats to i3lock
|
\- feed a wide variety of image formats to i3lock
|
||||||
|
|
Loading…
Reference in New Issue