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

Unix/Linux
Linux的使用
Linux下的软件安装
Linux下的硬件安装
Linux学习基础
Linux学习指导
Linux值得信任吗?
Linux 管理员手册(2)
Linux 管理员手册(3)
Linux 管理员手册(4)
Linux 管理员手册(5)
Linux 管理员手册(6)
Linux 管理员手册(7)
Linux 管理员手册(8)
Linux 管理员手册(9)
Linux新技术对象存储文件系统
Linux系统文件命令精通指南
Linux基础知识99问(五)
Linux基础知识99问(四)
Linux基础知识99问(三)
Linux基础知识99问(二)

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 42 ::
收藏到网摘: 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