Re: Turning PC monitor on/off

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

 



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

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

  Powered by Linux