Linux.com

lock the screen after waking up

Posted by: Anonymous Coward on February 16, 2007 10:14 PM
You might want to add
su $USERNAME -c "/usr/bin/gnome-screensaver-command --lock"

(or xscreensaver-command) to the top of the script to lock the screen for better security.

#

Return to Improved ways to suspend and hibernate a laptop under Linux