The problem of black screen when playing video on Ubuntu system

Source: Internet
Author: User
Tags linux

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.