Finally figured out Screen Blank/Suspend on Spectr

Kennel Linux Void based


Moderator: Forum moderators

Post Reply
geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Finally figured out Screen Blank/Suspend on Spectr

Post 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.

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2279
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1477 times
Been thanked: 1524 times

Re: Finally figured out Screen Blank/Suspend on Spectr

Post by Sofiya »

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

Attachments
2024-09-28_11-45.png
2024-09-28_11-45.png (89.05 KiB) Viewed 221 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2879
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2202 times
Been thanked: 876 times

Re: Finally figured out Screen Blank/Suspend on Spectr

Post 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

geo_c
Old School Hipster, and Such

User avatar
Wiz57
Moderator
Posts: 594
Joined: Fri Dec 13, 2019 3:54 pm
Location: Chickasha, OK USA
Has thanked: 78 times
Been thanked: 122 times

Re: Finally figured out Screen Blank/Suspend on Spectr

Post 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

Signature available upon request

Post Reply

Return to “KLV-Spectr”