- 论坛徽章:
- 0
|
小弟后来找到setterm,用man看它的说明如下:
-blank [0-60] (virtual consoles only)
Sets the interval of inactivity, in minutes, after which the
screen will be automatically blanked (using APM if available).
Without an argument, defaults to 0 (disable console blanking).
-powersave on|vsync
Puts the monitor into VESA vsync suspend mode.
-powersave hsync
Puts the monitor into VESA hsync suspend mode.
-powersave powerdown
Puts the monitor into VESA powerdown mode.
-powersave [off]
Turns off monitor VESA powersaving features.
-powerdown [0-60]
Sets the VESA powerdown interval in minutes. Without an argu-
ment, defaults to 0 (disable powerdown). If the console is
blanked or the monitor is in suspend mode, then the monitor will
go into vsync suspend mode or powerdown mode respectively after
this period of time has elapsed.
使用后发现setterm -blank 1有作用。
但它只是把监视器关闭,并没有把监视器的电源关闭。
而设定了-powersave on,-powerdown 1一样没有把监视器的电源关闭。
小弟程度不是很好,只好再请前辈们帮忙了。谢谢。 |
|