From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raseel Bhagat" Subject: Re: Turning PC monitor on/off Date: Wed, 11 Oct 2006 14:56:14 +0530 Message-ID: References: <1160554317.4000.3.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1160554317.4000.3.camel@localhost.localdomain> Content-Disposition: inline Sender: linux-c-programming-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: C programming list Hi On 10/11/06, Henry Margies wrote: > Maybe it also helps to look at the sources of xset program of X11. > > xset dpms force off > > Turns off the monitor (until you press a key or so). But what if I'm not on the X-window ? As in, I'm running this program from console, or one of the virtual terminals ? -- Raseel. http://raseel.livejournal.com