Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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
    
...how do I run the commands? (at startup, correct?) –  sman591 Oct 27 '10 at 4:14
    
@sman591: superuser.com/questions/152347/… –  ephemient Oct 27 '10 at 4:24

Your Answer

 
discard

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.