Re: Turning PC monitor on/off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

first of all it might be useful how DPMS works,
http://webpages.charter.net/dperr/dpms.htm

Instead of using X you could try to use some kind of Vesa feature.
Maybe your bios has a revealed interface in Linux for that feature too

Markus

On 10/11/06, Per Jessen <per@xxxxxxxxxxxx> wrote:
Raseel Bhagat wrote:
> Hi
>
> On 10/11/06, Henry Margies <henry.margies@xxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



--
Markus Rechberger
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux