how to control screen blanking (screensaver) on the freebsd console

method 1

load the kernel screen saver module(s):

# get the list of screen saver modules
cd /boot/kernel
ls *sav*
beastie_saver.ko
blank_saver.ko
daemon_saver.ko
dragon_saver.ko
fade_saver.ko
fire_saver.ko
green_saver.ko
logo_saver.ko
plasma_saver.ko
rain_saver.ko
savage.ko
snake_saver.ko
star_saver.ko
warp_saver.ko
# so, for example, do:
kldload blank_saver

then, use vidcontrol(1). in the console, enter:

# N is number of seconds, e.g.: 300
vidcontrol -t N

method 2

to blank the screen, put it in low power mode, and/or enable a screensaver for the hardware console, add these lines to /etc/rc.conf.

cat >>/etc/rc.conf <<EOM
saver="green"
blanktime="300"
scrnmap="NO"
EOM

this turns off the monitor after 300 seconds. to enable a screensaver instead of putting the monitor into standby, load the screensaver kernel modules, and replace the saver variable with:

  • green: uses monitor’s power saving mode

these are animated screen savers:

  • daemon: animated BSD daemon (text)

  • logo: animated BSD daemon (graphics)

  • fade: fade out effect (text)

  • fire: flames effect

  • rain: rain drops

  • snake: draws fbsd snake

  • star: twinkling stars effect

  • dragon: graphical dragon

that’s all folks!
…dave
Fri Nov 10 15:51:07 PST 2017