linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henry Margies <henry.margies@gmx.de>
To: C programming list <linux-c-programming@vger.kernel.org>
Subject: Re: Turning PC monitor on/off
Date: Wed, 11 Oct 2006 10:11:57 +0200	[thread overview]
Message-ID: <1160554317.4000.3.camel@localhost.localdomain> (raw)
In-Reply-To: <f68850780610102304g35ea4fa6pb4bf2a0db9b14668@mail.gmail.com>

On Wed, 2006-10-11 at 11:34 +0530, Raseel Bhagat wrote:
> Hi,
>  I want to write a C code for toggling my PC monitor on/off in Linux.
> Can some one point to any reading material or a hint or line of thought ?
> 

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).


Henry


  parent reply	other threads:[~2006-10-11  8:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11  6:04 Turning PC monitor on/off Raseel Bhagat
2006-10-11  7:05 ` ZeeGeek
2006-10-11  8:11 ` Henry Margies [this message]
2006-10-11  9:26   ` Raseel Bhagat
2006-10-11 10:02     ` Per Jessen
2006-10-11 10:20       ` Markus Rechberger
2006-10-11 10:25       ` Raseel Bhagat
2006-10-11 11:06         ` Katelyn Rowlands
2006-10-11 11:30           ` Raseel Bhagat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1160554317.4000.3.camel@localhost.localdomain \
    --to=henry.margies@gmx.de \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).