I often run network monitoring programs on my Ubuntu powered server from the console (click for the article: Six Free Linux Network Monitoring Tools For Your Home Network). Having the screen blank every 5 minutes on my Ubuntu server as it enters a power-saving mode is more than a bit annoying. I also don’t want to permanently disable the power saving feature in Ubuntu, because there are also times I am not running any software on the console, and the power saving feature is welcome. Here is a solution using the setterm command that will temporarily (it will function until you reboot the computer) disable the screen blanking function for the console text mode, assuming you are not logged in as root:
sudo setterm -powersave off -blank 0
The setterm command should work on the console for all Debian derivatives (Ubuntu, Mint, etc.). I have not tested the setterm command on other distributions, but…..the setterm command might be a place to start. Also, there are some “permanent” options to disable screen blanking at the console, but after testing one using “console-tools”, which pretty much “borked” the start-up process on my Ubuntu 13.04 Server, I decided the temporary fix using the setterm command above was an excellent solution (Note: I installed console-tools for the test, and an uninstall solved the problem with the Ubuntu server).