X-window下如何设定Linux的控制台休眠
发布时间:2006-10-14 8:56:11   收集提供:gaoqian
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 
 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50