How to disable monitor "sleep" on Ubuntu without access to X?

Posted by exhuma on Server Fault See other posts from Server Fault or by exhuma
Published on 2012-06-26T13:25:44Z Indexed on 2012/06/26 15:17 UTC
Read the original article Hit count: 210

I just received a CuBox (basically a tiny ARM based PC). It comes pre-installed with Ubuntu, and I did not (yet) want to fiddle with the OS itself.

My aim is to have it automaticall start a browser in fullscrren upon boot. Using chromium with the "--kiosk" flag works perfectly in that regard. But now I have the problem that the screen turns off after a certain time.

I managed to turn off the screen saver using:

gconftool-2 -s /apps/gnome-screensaver/idle_activation_enabled --type=bool false

And tried to turn off the power management using:

gconftool-2 -s /apps/gnome-power-manager/ac_sleep_display --type=int 0

and

gconftool-2 -s /apps/gnome-power-manager/timeout/sleep_display_ac --type=int 0

Neither of the power-management commands worked.

Theoretically I could hook up a mouse and keyboard and configure it manually. But I want to learn how to do it over the console. The box will eventually be only reachable via SSH. So I'd like to be able to trouble-shoot it later.

I don't quite know where to look for. I searched the gconf tree using gconftool-2 -S for anything related to the terms power, idle and sleep but did not find anything promising.

Maybe it's not even gconf related...

Any ideas what else I could look for?

© Server Fault or respective owner

Related posts about ubuntu

Related posts about power-management