Page 1 of 1

Finally figured out Screen Blank/Suspend on Spectr

Posted: Sat Sep 28, 2024 2:35 am
by geo_c

Well, one thing I've always had difficulty with on the KLV's is the screen saver kicking in and going black, and that was true using the Xfce power manager (though I got that worked out in the settings finally) I think it's a Void thing.

But for Spectr I read up a lot today, and was looking at acpid and possible etc/xorg.conf.d (which I didn't find one already existing)

But ultimately I found simply using the command xset with it's various options gave me what I was looking for.

I made a startup script to turn off all the suspend functions, because it was really annoying to be playing audio and have the screen go blank and the audio stop. As soon I would move the mouse the audio would resume, but I had to rectify that for good audio work.

So my script sets the suspend/hibernate values to zero, and switches off the screen saver. I had to sleep it to get it to take on Startup though, apparently some other config in the system sets it while booting. This works:

Code: Select all

#!/bin/bash

sleep 5
xset s noblank
xset s off
xset dpms 0 0 0

Simple enough to turn it on again by running the command xset s on and xset dpms 600 600 600 for a 10 minute sleep interval.


Re: Finally figured out Screen Blank/Suspend on Spectr

Posted: Sat Sep 28, 2024 8:48 am
by Sofiya

@geo_c
Why did you make two topics with the same name? ;)
( Finally figured out Screen Blank/Suspend on Spectr )


Re: Finally figured out Screen Blank/Suspend on Spectr

Posted: Sat Sep 28, 2024 12:29 pm
by geo_c
Sofiya wrote: Sat Sep 28, 2024 8:48 am

@geo_c
Why did you make two topics with the same name? ;)
( Finally figured out Screen Blank/Suspend on Spectr )

I didn't mean to do that. I just deleted one, but may have deleted a reply by @rockedge


Re: Finally figured out Screen Blank/Suspend on Spectr

Posted: Sat Sep 28, 2024 12:42 pm
by Wiz57
geo_c wrote: Sat Sep 28, 2024 12:29 pm
Sofiya wrote: Sat Sep 28, 2024 8:48 am

@geo_c
Why did you make two topics with the same name? ;)
( Finally figured out Screen Blank/Suspend on Spectr )

I didn't mean to do that. I just deleted one, but may have deleted a reply by @rockedge

I checked the deleted topic, and didn't see any replies, should be all good now.
WIz