Bug 30989

Summary: Xfce4: screen falls black in spite of disabled screensaver
Product: Mageia Reporter: Elmar Stellnberger <estellnb>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, marja11
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: output of "xset b"

Description Elmar Stellnberger 2022-10-19 20:46:56 CEST
Dear developers and maintainers of Mageia

  Every now and then I watch a video with Firefox, be it a film or just the news, it will be long enough for my screen to fall black. Then I need to stand up and move the mouse until the display comes up again. That way I do always miss a part of the video.
  I have looked under xfce4-settings-manager, but my screen saver is disabled. What shall I do?
Comment 1 Dave Hodgins 2022-10-19 22:46:18 CEST
What is the output of "xset q"?

CC: (none) => davidwhodgins

Comment 2 sturmvogel 2022-10-20 05:18:30 CEST
Screensavewrs are not the only way to turn displays "black". Check the display settings in xfce4-power-manager and disable the automatically switch-off of display...
Comment 3 Elmar Stellnberger 2022-10-20 13:41:20 CEST
Created attachment 13429 [details]
output of "xset b"

Ohh, thanks a lot. I have not thought about power control/manager. In deed there is a setting under display/screen to turn it black after 10 minutes which can be set to infinite by sliding to the very left (xfce4-settings-manager, Energieverwaltung->Bildschirm).
Comment 4 Marja Van Waes 2022-10-20 15:11:44 CEST
(In reply to Elmar Stellnberger from comment #3)
> Created attachment 13429 [details]
> output of "xset b"
> 
> Ohh, thanks a lot. I have not thought about power control/manager. In deed
> there is a setting under display/screen to turn it black after 10 minutes
> which can be set to infinite by sliding to the very left
> (xfce4-settings-manager, Energieverwaltung->Bildschirm).

Thanks for the feedback :-)
So their wasn't a Mageia bug after all ;-)

Resolution: (none) => INVALID
Status: NEW => RESOLVED
CC: (none) => marja11

Comment 5 Dave Hodgins 2022-10-20 17:56:08 CEST
The xset q shows it is the power control with
DPMS (Energy Star):
  Standby: 0    Suspend: 600    Off: 900

Note that with multiple desktop environments installed it's possible to have
more than one of them alter the dpms/screensaver settings with background
services. It may be necessary to log into each of the installed desktop
environments and use it's settings dialog to have them be consistent for
dpms/screensaver settings. That way it doesn't matter which one is last to
alter the settings during login.

An alternative way of doing the same thing is to set up a script to run
after starting the desktop ...
$ cat bin/noblank
#!/bin/bash
sleep 60
xset s 0 0
xset s noblank
xset s off
xset dpms 0 0 0
xset -dpms

The sleep at the start is to ensure all desktop environments have finished
any changes they make to the settings.