Public bug reported: After upgrading to Ubuntu 18.04, "/usr/bin/xscreensaver-command -deactivate" is launched every twenty seconds. Behaviour stops if I kill xfce4-power-manager. Seems this is a [known problem](https://www.jwz.org/xscreensaver//faq.html#no-blank), and the solution is to turn off "Presentation Mode". But the new xfce4-power- manager-settings does not mention "Presentation Mode", and I already turned off "Display power management".
I replaced /usr/bin/xscreensaver-command with the following to find out what was launching it, but it always says parent pid (PPID) is '1', as if it was started by systemd itself or as if the parent process died before the child started, and orphaned processes are always parented by pid 1. #!/bin/bash # what's causing the wake-ups? OUT=/tmp/xscreensaver-command-pid.txt echo "$$ : $0 $@" > $OUT ; # pstree -l -p >> $OUT # ps w >> $OUT #ps o stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm >> $OUT ; ps f -opid,ppid,cmd $$ >> $OUT /usr/libexec/xscreensaver/xscreensaver-command "$@" The $OUT file is created every twenty seconds. If I find the pid for xfce4-power-manager and `kill` it, then the $OUT file stops updating, so I feel strongly that xfce4-power-manager is the culprit, and the documented solution ("turn off Presentation Mode") is no longer available in Ubuntu 18.04 / xfce4-power-manager 1.6.1 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: xfce4-power-manager 1.6.1-0ubuntu1 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: XFCE Date: Wed May 2 10:45:26 2018 InstallationDate: Installed on 2016-06-05 (696 days ago) InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1) SourcePackage: xfce4-power-manager UpgradeStatus: Upgraded to bionic on 2018-04-27 (5 days ago) ** Affects: xfce4-power-manager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1768562 Title: calling "xscreensaver-command -deactivate" every 20 seconds To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1768562/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs