On Mon, 20 Feb 2023 11:13:58 -0800 Jamie Zawinski <j...@jwz.org> wrote:
> On Feb 20, 2023, at 9:44 AM, Celejar <cele...@gmail.com> wrote:
> > 
> > It turns out that the DEACTIVATEs were being sent by the Xfce Power
> > Manager's Presentation Mode. I'm not sure I was even aware of that
> > mode's existence, but it apparently has a long history of becoming
> > turned on without the conscious intention or awareness of the user :)
> 
> Good to know! 
> 
> So, it sounds like you were seeing XFCE invoking "xscreensaver-command 
> -deactivate" directly, is that right? That would have been happening here:
> 
> https://gitlab.xfce.org/xfce/xfce4-power-manager/-/blob/2969f0b1ddb60ccda2989c6da6977ab51c75dfd7/src/xfce-screensaver.c#L122
> 
> However it looks like that's a fallback, and first it would have tried to 
> connect to DBus, meaning you should have seen diagnostics from 
> xscreensaver-systemd instead:
> 
> https://gitlab.xfce.org/xfce/xfce4-power-manager/-/blob/2969f0b1ddb60ccda2989c6da6977ab51c75dfd7/src/xfce-screensaver.c#L233
> 
> Is xscreensaver-systemd not running for you?

It's running:

~$ ps ax | grep xscree
 145156 pts/6    S      0:35 xscreensaver -v -v -v --log /home/username/xsvr-log
 145158 pts/6    S      0:00 xscreensaver-systemd --verbose
 242602 pts/6    S+     0:00 grep xscree

I don't know whether I'm seeing "xscreensaver-command
-deactivate" or xscreensaver-systemd diagnostics. Where should I look
for these? The xscreensaver log just contains lines of the form:

xscreensaver: nn:nn:nn: ClientMessage DEACTIVATE: already inactive, resetting 
activity time

I don't see any mentions of "xscreensaver-command -deactivate" or systemd. 
Should I be looking somewhere else?

Thanks for the help, and thanks for your work on xscreensaver!

-- 
Celejar

Reply via email to