Skip to content

Guff/slimlock

 
 

Repository files navigation

slimlock - unholy screen locker

This is the Frankenstein's monster of screen lockers. I had the horrible idea to graft SLiM and slock together to create the screen locker that should have never been.

Slimlock reads your SLiM config files and uses the same interface. If you use SLiM already, then it should work for you automatically.

Requirements and Building

Requires X11, imlib2, freetype, pam. Change CFGDIR in the makefile to the directory containing you slim.conf. As root, install with make then make install.

Running slimlock

Run with slimlock.

Configuration

Slimlock reads SLiM's slim.conf and slimlock.conf, which should be at $CFGDIR/etc/slimlock.conf. The currently available settings and their defaults are:

  • dpms_standby_timeout: number of seconds of inactivity before the screen blanks.
    • Default: 60
  • dpms_off_timeout: same as above, but the screen turns off.
    • Default: 600
  • wrong_passwd_timeout: number of seconds after entering an incorrect password before slimlock will accept another attempt.
    • Default: 2
  • passwd_feedback_msg: message to display after a failed authentication attempt.
    • Default: "Authentication failed"
  • show_username: whether or not to display the username on themes with only a single input box. 1 to show, 0 to disable.
    • Default: 1
  • show_welcome_msg: whether or not to display SLiM's welcome message. 1 to show, 0 to disable.
    • Default: 0

Copyright

slimlock copyright (c) 2010-2012 Joel Burget

Image handling code revamped, PAM authentication, and other miscellaneous tweaks by (c) 2011 Kevin Sullivan

SLiM is copyright (c) 2004-06 by Simone Rota, Johannes Winkelmann and is available under the GNU General Public License. See the COPYING file for the complete license.

Image handling code adapted and extended from xplanet 1.0.1, copyright (c) 2002-04 by Hari Nair

Login.app is copyright (c) 1997, 1998 by Per Liden and is licensed through the GNU General Public License.

Multi-monitor support adapted from xscreensaver, copyright (c) 1993-2006 Jamie Zawinski jwz@jwz.org

About

SLiM + slock = slimlock

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.0%
  • C 3.0%