Turn screen off on Ubuntu [from console]

ubuntu_logo_81x81A good way to save power is to turn the screen off when you can┬áto leave the system by itself for sometime. Unlike my old laptop my new laptop doesn’t have a dedicated key to do that. An easy way to achieve this is to run the following command:

$ perl -e 'select(undef,undef,undef,.1)' && xset dpms force off

Assign a keyboard shortcut for it on Unity and you can easily turn off the monitor even if you don’t have a dedicated key. You can set it in the following file on LXDE:
~/.config/openbox/lxde-rc.xml

Leave a Reply

Your email address will not be published. Required fields are marked *