It is necessary to turn off the screen when idle n time. The screen is turned off with the help of / sys / class / backlight ...
And where in the system to see and change the time to shutdown using the console?
for example, if you have a working x-server, you can use the xset program.
current dpms state (display power management signaling):
$ xset q | tail -n 4 DPMS (Energy Star): Standby: 600 Suspend: 600 Off: 600 DPMS is Enabled Monitor is On You can disable / enable dpms like this:
$ xset -dpms $ xset +dpms about the disabled dpms program xset with the q parameter and will write:
$ xset q | tail -n 1 DPMS is Disabled you can change the time (in seconds) for standby, suspend and off (i.e., turn off the monitor), so:
$ xset dpms 100 200 300 check:
$ xset q | tail -n 4 DPMS (Energy Star): Standby: 100 Suspend: 200 Off: 300 DPMS is Enabled Monitor is On read more in man xset .
in the absence of a working x-server, you can use the setterm program. in particular, the following options will be useful: --blank , --powersave , --powerdown (with the necessary parameters).
read more in man setterm .
Source: https://ru.stackoverflow.com/questions/479805/
All Articles