2016-05-26 09:28:42 |
G.M. |
description |
I have a script in which I used:
xset dpms standby 0 ; xset dpms suspend 0 ; xset dpms off 0
Today, when I run the script, I get:
$ xset dpms standby 0
xset: unknown option standby
[...synopsis of available commands...]
$ xset dpms suspend 0
xset: unknown option suspend
[...]
However, reading the synopsis that is output after the error, I read:
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
So standby and suspend are suposed to exist...
There is either a bug in the code or in the doc! |
I have a script in which I used:
xset dpms standby 0 ; xset dpms suspend 0 ; xset dpms off 0
Today, when I run the script, I get:
$ xset dpms standby 0
xset: unknown option standby
[...synopsis of available commands...]
$ xset dpms suspend 0
xset: unknown option suspend
[...]
However, reading the synopsis that is output after the error, I read:
To control Energy Star (DPMS) features:
-dpms Energy Star features off
+dpms Energy Star features on
dpms [standby [suspend [off]]]
force standby
force suspend
force off
force on
(also implicitly enables DPMS features)
a timeout value of zero disables the mode
So standby and suspend are suposed to exist...
There is either a bug in the code or in the doc!
$ cat /etc/issue
Ubuntu 16.04 LTS \n \l
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS" |
|