Simple X display locker. This is the simplest X screen locker we are aware of. It is stable and quite a lot of people in our community are using it every day when they are out with friends or fetching some food from the local pub.


You can browse its source code repository or get a copy using the following command:

git clone



Slock can be started after a specific period of user inactivity using xautolock. The command syntax is:

xautolock -time 10 -locker slock

Simpler alternatives to xautolock might be xssstate or xss.