在控制台中显示电源管理

Mar*_*ter 3 linux power-management console linux-kernel

在控制台(即不在 Gnome 或 KDE 中)时,显示器将在不活动的情况下自动关闭。在我看来,设置为大约 30 分钟。这种电源管理完全独立于 X 服务器,并且在没有安装 X 服务器时确实有效。它似乎完全独立于用户空间工作。

它可能是由内核完成的吗?

有人可以解释一下这个电源管理来自哪里以及如何配置它(即更改超时等)。

我正在使用 Debian Wheezy

Ant*_*hon 5

您可以使用setterm -blank X(X 是分钟数)更改它。来自man setterm

-blank [0-60|force|poke] (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, gets the blank status  (returns  which  vt
       was blanked or zero for unblanked vt).

       The force option keeps screen blank even if a key is pressed.

       The poke option unblank the screen.
Run Code Online (Sandbox Code Playgroud)

或者,您可以设置内核参数consoleblank=Y(此处Y 为)。consoleblank=0禁用消隐。