Perhaps your machine supports wsconsctl display.brightness knob:

        BRIGHTNESS=`doas wsconsctl -n display.brightness`
        doas wsconsctl display.brightness=0
        sleep $((8*3600))
        doas wsconsctl display.brightness=${BRIGHTNESS}

Before going to sleep.

Cheers,

Paul 'WEiRD' de Weerd

On Mon, Jul 17, 2023 at 05:15:34PM +0000, Jag Talon wrote:
| Ah I forgot to mention that it doesn't have X running! Do you know
| if there's an equivalent for the console?
| 
| I'll have to try the keyboard too when I get to it thanks for the tip!
| 
| On 7/17/23 1:06 PM, Wolfgang Pfeiffer wrote:
| > On Mon, Jul 17, 2023 at 01:15:35PM +0000, Jag Talon wrote:
| > > I recently installed OpenBSD 7.3 on an iMac G3 (dmesg attached) and
| > > I'm using it as a tiny web server. I'm really happy with it, but the
| > > screen is too bright at night.
| > > 
| > > I know that OpenBSD on PPC doesn't support sleep, but would anyone
| > > familiar know if turning off or dimming the CRT monitor is possible?
| > 
| > ssh into the Mac and switch it off via something like
| > xrandr --output <display ID> --off
| > ?
| > 
| > And I'd be careful to not switch off the wrong display .. ;)
| > 
| > Or better, trying to map some key combo to turn up/down monitor
| > brightness ..?
| > 
| > Wolfgang
| > 
| 

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to