Simple X display locker, with basic user feedback. Based on slock.
Switch branches/tags
Nothing to show
Clone or download
benruijl Merge pull request #17 from karlek/readme-fix - fix toggle bar flag and formatting
Latest commit d46d021 Sep 2, 2016

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:

-h: 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.