./test-xscreensaver.sh && xfce4-session-logout -s seems to wait fading to finish before suspending to RAM. If I cp ./test-xscreensaver.sh to /usr/local/bin/xflock4 and set "Lock screen before sleep" enabled in "Session and Startup" settings, it does not wait, which is bad.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xscreensaver in Ubuntu. https://bugs.launchpad.net/bugs/1701917 Title: Slow in locking Status in xscreensaver package in Ubuntu: New Bug description: It takes about a second to lock screen by 'xscreensaver-command -lock'. Also checking, if xscreensaver is not running for the current session by the same command (by inspecting the exit code) takes as long time. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: xscreensaver 5.15-3+deb7u1ubuntu0.1 ProcVersionSignature: Ubuntu 4.4.0-83.106~14.04.1-generic 4.4.70 Uname: Linux 4.4.0-83-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.24 Architecture: amd64 CurrentDesktop: XFCE Date: Sun Jul 2 15:30:30 2017 EcryptfsInUse: Yes InstallationDate: Installed on 2014-09-21 (1015 days ago) InstallationMedia: Ubuntu-Studio 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.1) SourcePackage: xscreensaver UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/1701917/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

