Can't stop Screen blanking

James Carroll mrmaple at gmail.com
Thu Jun 16 01:35:49 UTC 2005


Thanks Karl,  You da man.

-Jim

On 6/15/05, Karl Hegbloom <hegbloom at pdx.edu> wrote:
> 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
> at all.
> 
> 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
> script.
> 
> 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>
> 
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 
>




More information about the ubuntu-users mailing list