On Fri, 2009-01-23 at 02:14 -0500, Joshua Murphy wrote:
> if radeontool or something will allow you to disable the display even
> when you aren't in X, or without proper access to the display (like
> xset requires) you might be able to even escape needing that xhost
> setting. No way of testing it at all myself though.

I use the dpms feature of sys-apps/vbetool to control the state of the
display from a shell script called by acpid. It works even when X is not
running and does not need access to the X display if X is running. Also,
it works with graphics cards from multiple vendors, as it uses VESA
extensions. From personal experience, I know it works with the Intel
graphics chipset in my laptop (x86) and also with the Nvidia graphics
card in my desktop (amd64). The latter does not have a lid to close, of
course, but vbetool can still turn off the display.

--Brandon Vargo


Reply via email to