You are not logged in.

#1 2021-10-07 08:52:18

omniscient_potato
Member
Registered: 2020-07-12
Posts: 38

[SOLVED] Get screensaver to only black the screen

Hey guys,

EDIT: talking about the screensaver shipped with X, not Xscreensaver

I just reinstalled arch on my main machine. I have an OLED monitor connected, so I want the screensaver to kick in after 5 minutes, but only black the screen, not turn it off with DPMS, as this would also cut audio, which is being tunneled through the monitor to the speakers. This has worked out of the box after the fresh install, but somehow, with the same settings, I get a greyish pattern now, instead of a black screen.

Does anyone know how to fix this?

This is what xset -q spits out:

Screen Saver:
prefer blanking:  no    allow exposures:  yes
timeout:  300    cycle:  0

Setting blanking to yes will turn off the whole monitor.

I might have installed somtehing that messed it up, such as nitrogen, or picom, but I removed both and it's still the same. Xscreensaver is not installed.

Last edited by omniscient_potato (2021-10-11 08:43:15)

Offline

#2 2021-10-07 14:53:21

seth
Member
Registered: 2012-09-03
Posts: 24,102

Re: [SOLVED] Get screensaver to only black the screen

"xset s blank"?

Online

#3 2021-10-09 08:24:56

omniscient_potato
Member
Registered: 2020-07-12
Posts: 38

Re: [SOLVED] Get screensaver to only black the screen

Setting blanking to yes will turn off the whole monitor.

Unfortunately, this does only turn off the montior when activating the screensaver.
EDIT: turning off the signal to the monitor, not the monitor itself:)

Last edited by omniscient_potato (2021-10-09 08:26:26)

Offline

#4 2021-10-09 09:00:30

progandy
Member
Registered: 2012-05-17
Posts: 4,562

Re: [SOLVED] Get screensaver to only black the screen

Edit: The screensaver should use the xorg background if it is set, so set a black background for the root window:

xsetroot -solid black

I suggest you use slock or i3lock with a black background. (autostart it with xss-lock to react to xorg screensaver events)

Last edited by progandy (2021-10-09 09:11:47)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2021-10-11 08:43:02

omniscient_potato
Member
Registered: 2020-07-12
Posts: 38

Re: [SOLVED] Get screensaver to only black the screen

Thanks, this solved it!:)

Offline

Board footer

Powered by FluxBB