Manually Invoke Standby for Laptop | SUSE Communities

Manually Invoke Standby for Laptop



I’m on a plane flight using my linux laptop and I need to conserver battery power by manually turning off the lcd screen when I’m not looking at it.


On a dpms-enabled X-server setup, this this is quite easy to do.

Just open up a terminal of your choice (xterm, konsole, gnome-terminal) and type the following command:

$ xset dpms force off

Similarly, if you are using a CRT monitor and you want to manually invoke a monitor standby, you can use this command:

$ xset dpms force off


Once you get the hang using the xset command, you can implement it in more advanced graphical scripts like the following example program:

xmessage -center -timeout 5 -buttons "" Standby in 5 Seconds... Keep mouse still &
sleep 5
xset dpms force standby

(Visited 1 times, 1 visits today)

Leave a Reply

Your email address will not be published.

No comments yet