0

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.

sman591
  • 131
  • 1
  • 7

1 Answers1

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
ephemient
  • 1,470
  • 1
  • 11
  • 8