You are not logged in.

#1 2022-12-18 21:30:20

LRitzdorf
Member
Registered: 2022-12-08
Posts: 12

[N/A] Xorg server flag for screensaver cycle time?

Hello! I've been experimenting with Xorg screensaver settings, and I'd like to be able to control my screensaver cycle time (also called the period) without resorting to "xset" commands in my ".xprofile".

So far, I've been able to control display settings via an Xorg configuration drop-in file, but there doesn't seem to be an option for cycle time. Given that it is controllable with "xset s <blank time> <cycle time>", the lack of a ServerFlags cycle option surprises me a bit.

For reference, here's my current "/etc/X11/xorg.conf.d/10-monitor.conf":

Section "ServerFlags"
    Option "BlankTime" "5"
    Option "StandbyTime" "10"
    Option "SuspendTime" "10"
    Option "OffTime" "10"
EndSection

And the results, as expected:

lritzdorf@ritzcracker : ~
[0] % xset q
<trimmed>
Screen Saver:
  prefer blanking:  yes    allow exposures:  yes
  timeout:  300    cycle:  600
<trimmed>
DPMS (Display Power Management Signaling):
  Standby: 600    Suspend: 600    Off: 600
  DPMS is Enabled
  Monitor is On

Based on this, the screensaver cycle time seems to mirror the DPMS standby time, by default...

Last edited by LRitzdorf (2022-12-19 20:16:35)

Offline

#2 2022-12-18 22:30:35

seth
Member
Registered: 2012-09-03
Posts: 53,355

Re: [N/A] Xorg server flag for screensaver cycle time?

https://man.archlinux.org/man/Xserver.1.en#p but idk for a ServerFlag, it's certainly not documented.

the lack of a ServerFlags cycle option surprises me a bit

https://cgit.freedesktop.org/xorg/xserv … 907ffee66b
Never underestimate how old X11 is…

Online

#3 2022-12-19 20:14:50

LRitzdorf
Member
Registered: 2022-12-08
Posts: 12

Re: [N/A] Xorg server flag for screensaver cycle time?

All right, thanks for the pointer! It looks like I could make my own .xserverrc, then, but that defeats my goal of keeping all screen-blanking settings in the same file anyway. I've just added an "xset s" invocation to my .xprofile, which works fine.

Offline

Board footer

Powered by FluxBB