1 |
On Wed, May 10, 2017 at 03:36:05PM -0400, Jonathan Callen wrote |
2 |
|
3 |
> Additionally, "setterm --blank force" turns the console off immediately. |
4 |
|
5 |
Thank you; that's exactly what I was looking for. My script |
6 |
~/bin/dark now reads... |
7 |
|
8 |
#!/bin/bash |
9 |
sleep 1 && xset -display :0.0 dpms force off |
10 |
setterm --blank force |
11 |
|
12 |
...so I can execute "dark" in either X or a true text console, and it |
13 |
works in both cases. |
14 |
|
15 |
-- |
16 |
Walter Dnes <waltdnes@××××××××.org> |
17 |
I don't run "desktop environments"; I run useful applications |