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

Re: lock all!



> anyone know a good solution(automatic) to use "xlock" and "lock" in my box?
> I have read the manual pages.. :(

Try xautolock in the ports (x11/xautolock).  It runs xlock after a
certain amount of inactivity and can be triggered early by binding a
key to run 'xautolock -locknow'.

I have it setup on my workstation to remove my private key from
ssh-agent upon locking and then prompt me again for the passphrase
once xlock has been unlocked.

Try:

   xautolock -locker 'xlock -mode blank +description +usefirst \
      -mousemotion -startCmd "ssh-add -D" -endCmd "ssh-add \
      ~/.ssh/id_dsa"' -time 5 &

in your .xsession or .xinitrc.


   -j.