26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
# xlock screen locker
|
|
|
|
`xlock` really does nothing, it uses and wraps [`i3lock`](https://github.com/i3/i3lock) into [systemd](https://freedesktop.org/wiki/Software/systemd/) to allow a seamless screen lock. You have as a background the screenshot of your current screen, the mouse pointer works, nothing can happen. You just have to type your password, press enter and here you go.
|
|
|
|
|
|
Your friends and coworkers can be attempted, they won't succeed !
|
|
|
|
|
|
### Installation
|
|
|
|
Requirements :
|
|
- i3lock
|
|
- [scrot](https://phab.enlightenment.org/diffusion/ESVN/browse/trunk/misc/scrot;35502)
|
|
|
|
run `./install.sh` ; you need sudo permissions.
|
|
|
|
### How to use
|
|
A lock file is created at '/tmp/.unlocked'. To lock your screen, simply delete this file. After the install the service 'xlock@<user>.path' with `<user>` being your username during install. To start it `systemctl start xlock@user.path`, at the install it is enabled by default, so launched at boot.
|
|
|
|
To add a key binding or to automate your script lock, simply delete the `/tmp/.unlocked` file.
|
|
|
|
|
|
|
|
### Security issues
|
|
|
|
Killin the `i3lock` process does not remove the locker. |