Light/Minimal Screen Locking application

by Thinker Email

Link: http://forums.gentoo.org/viewtopic-p-5688968.html#5688968

 

 

For those who wish to have their nix screen locked manually or automatically and dont want to install big/bloated screen saver applications here are 3 good very light and minimal solutions:

For X:

 

For TTY:


And to make it work with a timer:

Here goes an example:

$  xautolock -locker xtrlock -time 5

xautolock will tell  ( locker) xtrlock to activate after 5 minutes idle

For help type:

$ xautolock -help

 

Adding it to your Window Manager like fluxbox startup :

$ echo xautolock -locker xtrlock -time 5 >> .fluxbox/startup