[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xscreensaver and ssh-agent



On Tue, Feb 27, 2001 at 10:23:58AM +1100, Brian May wrote:
> Even better though:

And here with an automatic popup to enable the agent again when you come
back:

#!/usr/bin/perl -w
use strict;
open (FOO, "/usr/bin/X11/xscreensaver-command -watch|")
    || die "$0: can't watch xscreensaver\n";
while (<FOO>) {
        system("/usr/bin/ssh-add -D") if m/^(LOCK|BLANK) /;
        system("/usr/bin/ssh-add </dev/null") if m/^UNBLANK /;
}

-- 
The idea is that the first face shown to people is one they can readily
accept - a more traditional logo. The lunacy element is only revealed
subsequently, via the LunaDude. [excerpted from the Lunatech Identity Manual]



Reply to: