Ubuntu defaults to 10 minutes to get into the screensaver. I use Ubuntu server12.04, because there is no desktop, can only use the command. As follows: Setterm-blank 0//Disable screensaver Setterm-blank 1//1 minutes after the start screensaver Settern is the system comes with the command, the function is quite powerful, specifically available setterm--help view. such as: Setterm-dump 1//Get 1 screen information, to obtain 2 screen information, Setterm-dump 2 can be. But the above the turn off screensaver command only applies to this screen, I have not found the file about the screensaver settings for the time being. If the X graphical interface is installed, use the command xset, such as: XSET-DPMS//Turn off screensavers xset +dpms//Restore screensaver Specific function usage, you can xset--help view.
You can use the Xset command to set items:
Xset s #设置屏保时间为300秒, unit of time in seconds
Xset S 0 #关闭屏幕保护
Xset s off
Xset DPMS 600 900 1200 # Three values are standby, Suspend, OFF, specifically what does not mean to say, unit seconds
Xset-dpms #关闭电源管理
You can also edit xorg.conf
Add the following lines to the Serverlayerout field:
Option "Blanktime" "5" #注意这里的时间值为分钟
Option "Standbytime" "10"
Option "Suspendtime" "15"
Option "Offtime" "20"
The time value is set to 0 to close the item,
The effect is the same. You can use Xset-q to view settings.
Xset b 0 can turn off the ringtone under X
Xset b off is the same
Linux cancels screensavers