I have two macbooks, one running 16.04 server, another running 18.04 server. I'm trying to disable the monitors to save power
If instead you're using the Linux console (not X-Windows), you'll want to use setterm(1):
I've tried a couple of the commands to no avail
setterm --powersave on
setterm --half-bright on
setterm --powersave powerdown
Essentially nothing happens when I run these commands. I'm running them at a console on the laptop itself (not over SSH).
setterm --cursor off|on do work, so I feel like
setterm is the right direction, but for some reason the power management options do nothing. Maybe there's something I could install that would fix that?
I was looking into disabling kernel modules as well, I've got the nouveau driver, when I run
sudo rmmod -f nouveau I get
rmmod: ERROR: ../libkmod/libkmod-module.c:793 kmod_module_remove_module() could not remove 'nouveau': Resource temporarily unavailable rmmod: ERROR: could not remove module nouveau: Resource temporarily unavailable
I also tried changing the keyboard layout to a Macbook layout and using the built-in keys, but when I press the function key and the appropriate function key to change the brightness, it just acts as if I'm typing random characters into the terminal.
How can I power off my displays?