2 # Author: Nicolas Berthier
3 # Last modified: Tue Aug 31 12:14:59 2010
4 # Comment: Forces the screen to go to standby mode.
6 # FIXME: We 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 standby;