! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce-blank and xset q disagree
Status:
RESOLVED: MOVED
Product:
Xfce4-screensaver
Component:
General

Comments

Description leo 2019-09-24 14:21:51 CEST
xfce4-screensaver --version: 0.1.8

I'm selecting xfce-blank in xfce4-screensaver-preferences. I set "Activate screensaver when computer is idle" to off.
xset q shows:
Screen Saver:
  prefer blanking:  no    allow exposures:  no
  timeout:  900    cycle:  900
I'd expect xfce-blank to issue something like "xset s off" when turning this option off.

When "Activate screensaver when computer is idle" is active and you try to directly enter the number of minutes, the change is discarded if you don't press +/- at least once.

Settings done in the xfce-blank configuration dialog are not reflected in the dpms settings (xset q).
DPMS (Energy Star):
  Standby: 1200    Suspend: 0    Off: 1800
  DPMS is Enabled
  Monitor is On

Configure everything to never in "xfce4-screensaver-configure xfce-blank":
DPMS (Energy Star):
  Standby: 1200    Suspend: 0    Off: 1800
  DPMS is Enabled
  Monitor is On

xfce4-power-manager is not running
Comment 1 Jarno Suni 2020-01-07 15:46:23 CET
DPMS settings may be set independently in Power Manager settings. You might want power management to engage after a while when some screensaver animation is playing. But I understand that you might not want that together with xfce-blank.

I notice you told that xfce4-power-manager is not running. 

I supopse Xfce4-screensaver's xfce-blank changes DPMS settings only, when screensaver is activated, and reverts, when it is deactivated. If enabled, locking activates screensaver immediately.

I can confirm that "Activate screensaver when computer is idle" does not commit to the setting unless you click +/- or use up/down arrow, that is, if you type the number and press tabulator.
Comment 2 Jarno Suni 2020-01-07 19:03:37 CET
(In reply to leo from comment #0)
> xfce4-screensaver --version: 0.1.8
> 
> I'm selecting xfce-blank in xfce4-screensaver-preferences. I set "Activate
> screensaver when computer is idle" to off.
> xset q shows:
> Screen Saver:
>   prefer blanking:  no    allow exposures:  no
>   timeout:  900    cycle:  900
> I'd expect xfce-blank to issue something like "xset s off" when turning this
> option off.

Is this a problem? It does not trigger the screen saver then after 900 s anyway.

> Settings done in the xfce-blank configuration dialog are not reflected in
> the dpms settings (xset q).
> DPMS (Energy Star):
>   Standby: 1200    Suspend: 0    Off: 1800
>   DPMS is Enabled
>   Monitor is On
> 
> Configure everything to never in "xfce4-screensaver-configure xfce-blank":
> DPMS (Energy Star):
>   Standby: 1200    Suspend: 0    Off: 1800
>   DPMS is Enabled
>   Monitor is On

It would help, if you set display power management off in Power Manager or...
 
> xfce4-power-manager is not running

run
xset -dpms
Maybe some session startup script could run that and Power Manager would override it, if started.
Comment 3 Jarno Suni 2020-01-09 09:05:10 CET
In the About tab of `xfce4-screensaver-configure xfce-blank` there is advice to check conflicting settings outside the screensaver.
Comment 4 leo 2020-01-09 09:41:49 CET
But we do not have conflicting settings. We are not running the power manager. On a server with at least 200 active X-Sessions that wouldn't be very useful. There are no other applications manipulating the DPMS settings.

The only screen saver we allow is xfce-blank. At some terminals screen blanking has to be disabled. The intuitive way to do this would be to go into the screensaver configure dialog and disable "Activate screensaver when computer is idle" or setting "Enable Screensaver" to off. But neither of these actions will issue an equivalent to "xset s off". So users will try to disable the screensaver using the provided GUI and the screen will still get blanked after some time.

Note that the screensaver *is* using the X-Server's settings. When e.g. changing the blanking timeout the new settings will be reflected in "xset q". Its just disabling the screensaver that is not propagated to the X-Server.
Comment 5 Jarno Suni 2020-01-11 01:01:52 CET
On the other hand, changing xfce-blank's sleep and off timeout does not change X-Server's settings, at least immediately, so I wonder how it handles it. Furthermore, I noticed that if I set "xset -dpms", the xfce-blank's sleep and off timeout settings do not have an effect.
Comment 6 Git Bot editbugs 2020-05-25 22:26:12 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/16.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15987

Reported by:
leo
Reported on: 2019-09-24
Last modified on: 2020-05-25

People

Assignee:
Sean Davis
CC List:
1 user

Version

Attachments

Additional information