Disable console blanking

Tagged:  •  

echo setterm -powersave off -powerdown 0 -blank 0 >> /etc/rc.local


Thanks for this tip! Below is what I have been using on Gentoo boxes:

echo "setterm -powerdown 0 -blank 0" >> /etc/conf.d/local.start

I use this code in my /etc/rc.local
sh -c 'setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1'
Running setterm while X is running will normally produce an error - this wont.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.
Syndicate content