[dwm] I wrote a screen saver/locker and auto-launcher

From: Neale Pickett <neale_AT_woozle.org>
Date: Mon, 21 Apr 2008 12:30:54 -0600

I was inspired by dwm to write a screen saver / locker, and an
auto-launcher (like xautolock, but mine blocks). I split it up into
several little programs that each do one thing. You can use the
programs to build a lot of different kinds of screen savers.

    http://woozle.org/~neale/src/xss

I wrote it to run slock after a timeout, using the MIT-SCREEN-SAVER
extension, because xautolock runs a little loop polling timestamps on
the keyboard and mouse files and that bothers me. Replace xautolock
like so:

    $ xss slock &

Here's a shell script that does something similar to slock. You could
modify it to use md5sum or some other "verify I typed in my password"
program:

    #! /bin/sh
    xsswin xkeygrab | (while read l; do
                          [ "$l" = "secret" ] && break
                          xbell
                       done)

I provide a "magic" screensaver hack that you can use to draw pretty
pictures without sucking CPU cycles. Or you can use any xscreensaver
hack. You could also use "magic" with xscreensaver if you're happy with
xscreensaver but unhappy with qix.

I hope someone else thinks this is useful.

Neale
Received on Mon Apr 21 2008 - 20:30:56 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:34:52 UTC