ohmkara 1.0

a technical blog.

Posts Tagged ‘display

linux — display off / prevent display off

leave a comment »

I keep my laptop on most of (all) the time. To turn the display off when I sleep etc. I have the following alias in my ~/.bashrc

alias doff=’sleep 5; xset dpms force off’

doff command then gives me enough time to ctrl+alt+L before the display switches off.

To prevent turning off the display / screen blanking etc. while the system is idle and I am thinking / watching movies etc. I have the following alias

alias don=’xset -dpms; xset s off’

I did not invent these by any means, to know more — link

Written by deepak

January 3, 2010 at 7:03 am

Posted in linux

Tagged with , , ,