On 14.05.2011 09:29, harrismh777 wrote:
harrismh777 wrote:def turnOnMonitor(): SC_MONITORPOWER = 0xF170 win32gui.SendMessage(win32con.HWND_BROADCAST, win32con.WM_SYSCOMMAND, SC_MONITORPOWER, -1)Wonder what the equivalent of this is in Linux... ?
Probably xset dpms force {on,off,...} -- http://mail.python.org/mailman/listinfo/python-list