You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
190 B

10 years ago
#!/bin/bash
# Set display into standby, suspend or off mode
case $1 in
standby|suspend|off)
sleep 1
xset dpms force $1
;;
*)
echo "Usage: $0 standby|suspend|off"
;;
esac