Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple X display locker, with basic user feedback. Based on slock.
C Makefile

sflock - simple feedback screen locker

Simple screen locker utility for X, based on slock. Provides a very basic user feedback.


In order to build sflock you need the Xlib header files.


Arch Linux users can install this package from the AUR(

Manual installation: Edit to match your local setup (sflock is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install sflock (if necessary as root):

make clean install

Running sflock

Simply invoking the sflock command starts the display locker with default settings.

Custom settings:

-b: toggle the bar. -f : modify the font. -c : modify the characters displayed when the user enters his password. This can be a sequence of characters to create a fake password.

Something went wrong with that request. Please try again.