xset dpms force off
doesn't work, outputting:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 147 (DPMS)
Minor opcode of failed request: 6 (DPMSForceLevel)
Serial number of failed request: 12
Current serial number in output stream: 14
I have two monitors that have power buttons on them, with default power management settings. However, pressing one keyboard shortcut using a command would be handy.
I'm pretty sure I'm using Gnome and read that xset doesn't work with Gnome.
As an alternative solution I'll just change the screen timeout to 1 minute.
Related: