当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > X-window下如何设定Linux的控制台休眠

Unix/Linux
linux root 密码忘了怎么办?
Debian LINUX 基础知识介绍
在Linux操作系统下修改IP、DNS和路由配置
Linux网络管理员指南(下载)
Linux环境进程间通信:管道及有名管道
Linux操作系统中的七件超厉害的武器
linux下vi编辑器命令大全
Linux服务器安全小技巧
Linux和UNIX病毒需特别重视
配置安全的SCO UNIX网络系统
IIS的安全性全解析
UNIX防止非法用户注册的技术
linux 远程桌面连接
Vsftpd+tcp_wrappers控制主机和用户访问
挂载(mount)命令使用技巧
linux 如何结束进程
cpio 解压参数
gzip和gunzip 解压参数
compress与uncompress参数使用
bzip2 bunzip2 bzcat参数使用

Unix/Linux 中的 X-window下如何设定Linux的控制台休眠


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 51 ::
收藏到网摘: n/a

  X window 下 

Put the next two line in your .xinitrc (15 mins to turn off your monitor) 

xset s 300 xset s power 600 900 

S3 的 X 有这个功能. 在 XF86Config 加: 

Section "Device" Identifier "s3-Virge" VendorName "Winfast" BoardName "s3-Virge" VideoRam 2048 Option "power_saver" ### ^^^^^^^^^^^^^^^^^^^^^^^^^^ ### 加这一行 EndSection 

Section "Screen" Driver "accel" Device "s3-Virge" Monitor "mag17" 

BlankTime 5 SuspendTime 15 OffTime 30 ### ^^^^^^^^^^^^^^ ### 加这三行 

另外用 xset 也可以变更这三个参数, 例如 xset s 300 5 s blank s power 900 1800