BBS水木清华站∶精华区

 
  Console 下 
 
==> 在 joy@access.ttn.com.tw (joy) 的文章中提到: 
 1. Linux 的 console 设定若隔几分钟不作任何动作则 Monitor 会自动 
    休息,请问此设定档是在那里 ? 
 
发信人: deming.bbs@aidebbs (虎标), 信区: Linux 
/etc/rc.d/rc.M  内容如下: 
 
# Tell the viewers what's going to happen... 
echo "Going multiuser..." 
 
# Screen blanks after 15 minutes idle time. 
/bin/setterm -blank 15 
 
 
============================================================================ 
 
    X window 下 
 
发信人: cp76@csie.nctu.edu.tw (cp76), 看板: Linux 
Put the next two line in your .xinitrc  (15 mins to turn off your monitor) 
 
 
xset s 300 
xset s power 600 900 
 
 -------------------------------------------------------------------------- < 
 
发信人: hou@twins.math.ncku.edu.tw (), 看板: Linux 
标  题: Re: 萤幕保护 
发信站: Computer Center, NCKU, Tainan, Taiwan, R.O. (Wed Dec 18 11:34:27 1996) 
转信站: sobee!netnews.ntu!linux2.tpml!UUserv.Net.tw!news.cis.nctu!news-peer.nc 
 
Slash (history.bbs@bbs.cis.nctu.edu.tw) 提到: 
   用ms-windows时只要过壹段时间不动就会自动run萤幕保护程式, 
   linux可以吗? 
 
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 

BBS水木清华站∶精华区