linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Per Jessen <per@computer.org>
To: C programming list <linux-c-programming@vger.kernel.org>
Subject: Re: Turning PC monitor on/off
Date: Wed, 11 Oct 2006 12:02:04 +0200	[thread overview]
Message-ID: <452CC11C.7040309@computer.org> (raw)
In-Reply-To: <f68850780610110226v38ff4650w94a53129b7f7ec0e@mail.gmail.com>

Raseel Bhagat wrote:
> Hi
> 
> On 10/11/06, Henry Margies <henry.margies@gmx.de> 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 ?

You said you wanted to look at the code and xset is probably a good 
example.  Whether it'll also work from the commandline with no active X 
system, that's for you to find out :-)


/Per Jessen, Zurich

  reply	other threads:[~2006-10-11 10:02 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
2006-10-11  9:26   ` Raseel Bhagat
2006-10-11 10:02     ` Per Jessen [this message]
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=452CC11C.7040309@computer.org \
    --to=per@computer.org \
    --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).