sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1148B)


      1 slock
      2 =====
      3 Simple X display locker. This is the simplest X screen locker we are aware of.
      4 It is stable and quite a lot of people in our community are using it every day
      5 when they are out with friends or fetching some food from the local pub.
      6 
      7 Configuration
      8 -------------
      9 slock is configured via `config.h` like most other suckless.org software. Per
     10 default it will turn the screen red on any keyboard press, if you are less
     11 paranoid and turning red on failed login attempts suffices for you, set
     12 `failonclear = 0` in `config.h`.
     13 
     14 Development
     15 -----------
     16 You can [browse](//git.suckless.org/slock) its source code repository or get a
     17 copy using the following command:
     18 
     19 	git clone https://git.suckless.org/slock
     20 
     21 Download
     22 --------
     23 * [slock-1.5](//dl.suckless.org/tools/slock-1.5.tar.gz) (2022-10-04)
     24 
     25 Xautolock
     26 ---------
     27 slock can be started after a specific period of user inactivity using
     28 [xautolock](http://www.ibiblio.org/pub/linux/X11/screensavers/). The command
     29 syntax is:
     30 
     31 	xautolock -time 10 -locker slock
     32 
     33 Simpler alternatives to xautolock might be
     34 [xssstate](//git.suckless.org/xssstate/) or
     35 [xss](http://woozle.org/~neale/src/xss.html).
     36