Linux Screensaver Settings __linux

Source: Internet
Author: User

Linux text terminal/character Interface screensaver cancellation

During our daily use of Linux, we often encounter the use of screen terminals after a period of time, the monitor off
Close, there is no display on the screen. After a while, the screen closes without any display.
If the system freezes or dies at this time, and the screen has output. When screen protection is encountered, you cannot see any
what information. At this point, we
Screen protection needs to be turned off.
The screen protection commands for canceling text terminals are:
#setterm –blank 0–powersave Off–powerdown 0
If we want to turn on the text terminal screensaver again, use the following parameters:
#setterm –blank 1–powersave On–powerdown 5
Attention:
1. The above command must be performed on the screen terminal to be effective and the screen will not be changed through SSH
End property.
2. The command can be executed as non-root.

X Windows Screensaver Settings command: Xset
You can use the Xset command to set items:
Xset s #设置屏保时间为300秒, time unit is seconds
Xset S 0 #关闭屏幕保护
Xset s off
Xset DPMS 600 900 1200 # Three numeric values are standby, Suspend, off, what do you mean, no more 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 ringtones under X
Xset b off is all the same.

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.