TIP Console screen saver
From Gentoo Linux Wiki
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
To stop your screen from going black after a few min, run this command to turn it off:
setterm -blank 0
Addition:
You can set the monitor to go to "VESA powerdown Mode" after a specified time,
especially useful if your box reboots on powerloss:
setterm -powerdown [0-60]
To disable powersaving:
setterm -powersave off
If you want to enable this settings by default on startup, edit
| File: /etc/conf.d/local.start |
for x in $(seq 1 "${RC_TTY_NUMBER}") ; do
setterm -blank 0 -powersave off > /dev/vc/${x}
done
|
On some systems /dev/vc/${x} may not exist - in this case you need to change it to /dev/vcs${x}.
If /dev/vcs${x} doesn't exist, too, try /dev/tty${x}.
(Use ls -l /dev/vc* to see what is available at your system.)
i suggest to use tty value for avoid blanking on console (useful to see what happened on kernel panic)
| File: /etc/conf.d/local.start |
## disable console blank screen
for index in $(seq 1 6) # by default only six console are enabled at startup
do
setterm -blank 0 -powersave off > /dev/tty${index}
done
|
