On the Internet to check the relevant information, there are several methods: 1, Setterm-blank 0 This method in this blog, I described in detail, but in the actual operation did not take effect. Linux LCD 10-minute black screen, 10-minute black screen, LCD automatic shutdown, LCD black screen problem 2, install 2.6.2 program to prevent the system from entering the black screen
This method has not been tried, this must be used in the GNOME environment, but with this idea to find a third way
Install the caffeine method as follows:
Installation method:
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install Caffeine
Uninstall Caffeine command:
sudo apt-get remove caffeine the
PPA:
sudo apt-get install ppa-purge
sudo p Pa-purge Ppa:caffeine-developers/ppa
3. Disable Screensaver in Ubuntu
Solution 1:
edit/etc/x11/xorg.conf file using the following command
sudo vi/etc/x11/xorg.conf
section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
Endsection
and add the following lines
section "Serverflags"
#other options can go
Option "Blanktime" "0″
Option "Standbytime" "0″
Option "Suspendtime" "0″
Option "Offtime" "0″
Endsection
Save and exit the file
Solution 2
edit/etc/x11/xorg.conf file using the following command
sudo vi/etc/x11/xorg.conf
This is effectively disables power management on your monitor Settings
section "Monitor"
#other options can go
Option "DPMS" "false"
Endsection
Save and exit the file and restart your machine
Solution 3
Gconftool-2--set/apps/gnome-screensaver/idle_activation_enabled--type=bool False
Gconftool-2--set/apps/gnome-power-manager/ac_sleep_display--type=int 0
Solution 4
Gnome-screensaver-command–inhibit
Solution 5
Gnome-screensaver-comand–poke
Solution 6
Xset s off
Xset-dpms
Solution 7
Xset DPMS 0 0 60
#60 is the seconds
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/