2 # Author: Nicolas Berthier
3 # Last modified: Wed May 27 13:32:29 2009
4 # Comment: Forces the screen to go to standby mode.
6 #need to sleep a second here, else it does not work : why ?
9 if [ "$1" == "lock" ]; then
10 xscreensaver-command -lock;
12 xscreensaver-command -activate;
15 exec xset dpms force off;