On Fri, Nov 22, 2019 at 09:45:44AM +0100, Unicorn wrote:
> On Fri, 2019-11-22 at 09:28 +0100, Claus Assmann wrote:
> > On Fri, Nov 22, 2019, Unicorn wrote:
> > 
> > > Still would like to know how to turn the display off, have not
> > > figured
> > > that out yet ;)
> > 
> > man xset
> > 
> > Not sure if this is what you want (yes, it's ugly):
> > 
> > #!/bin/sh
> > if test $# -ge 1
> > then
> >   TO=$1
> > else
> >   TO=300
> > fi
> > xset s $TO
> > xset s blank
> > if test $# -lt 1
> > then
> > xset dpms 500 660 900
> > fi
> > 
> 
> Thank you for the suggestion!
> 
> Will using xset work without running X? I intended to not use X as I am
> just trying to set up a simple mailserver. :)
> 
> Best,
> 
> Unicorn

Have a look at wsconsctl.conf(5).  Might be relevant.

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to