On Wed, May 10, 2017 at 03:36:05PM -0400, Jonathan Callen wrote

> Additionally, "setterm --blank force" turns the console off immediately.

  Thank you; that's exactly what I was looking for.  My script
~/bin/dark now reads...

#!/bin/bash
sleep 1 && xset -display :0.0 dpms force off
setterm --blank force

...so I can execute "dark" in either X or a true text console, and it
works in both cases.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to