电脑技术学习

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

dn001
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;

标签: linux