Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Ubuntu Server 10.04 on my iMac G4. Is there a way to have the screen turn off ('sleep' the display as in Mac OS X), and turn back on automatically from something like any key being pressed? The screen goes black after a couple minutes, but I want it to go completely off.

I don't want to have to install a graphical UI; I want to stick with the command line (if possible). I'm extremely new to Ubuntu/unix stuff.

share|improve this question

If the framebuffer driver your kernel is using to drive the iMac's graphics hardware supports it, this should power the monitor off after 10+10 minutes:

setterm -blank 10
setterm -powersave on
setterm -powerdown 10

I don't remember if Ubuntu has an configurable rc script that calls setterm at boot.

If that doesn't work, try (at your own risk) poking the hardware directly, one of:

vbetool dpms off
vbetool vbefp setbrightness 0
share|improve this answer do I run the commands? (at startup, correct?) – sman591 Oct 27 '10 at 4:14
@sman591:… – ephemient Oct 27 '10 at 4:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.