Can't stop Screen blanking
hegbloom at pdx.edu
Wed Jun 15 17:48:23 UTC 2005
On Tue, 2005-06-14 at 20:31 -0400, James Carroll wrote:
> How can I stop screen blanking when I'm using the joystick?
A quick look at the script /etc/acpi/power.sh will show you what's going
on. /usr/sbin/laptop-mode does not appear to affect the screen blanking
To get around it, you should unplug the power, and then run the commands
that set things the way you like. It would be useful to wrap it in a
Also see: man setterm
... because the VT console blank time can affect this also. I believe
you can turn it off with:
sudo sh -c 'setterm -blank 0 </dev/console >/dev/console 2>&1'
You need the "sh -c '...'" to wrap the redirection, so it happens as
root. Otherwise, you don't have access to the console device.
Not just for playing games... that command is useful for keeping the
screen from blanking out for trade show and window displays as well.
Karl Hegbloom <hegbloom at pdx.edu>
More information about the ubuntu-users