Here's another test script attached; I used it with xscreensaver 5.36.
extract from terminal:
$ ./test2.sh && paplay /usr/share/sounds/freedesktop/stereo/complete.oga
31.084305045
xscreensaver-command: activating and locking.
0.00user 0.00system 0:00.02elapsed 15%CPU (0avgtext+0avgdata
...But I prefer to disable the setting and add a launcher for sh -c
'xflock4 && xfce4-session-logout -s'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701917
Title:
Slow in locking
To manage
./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
As for 5.36 the speed varies:
sh -c './test-xscreensaver.sh ; beep'
might play sound almost immediately, or it could wait until xscreensaver
has faded the screen to black. What causes such variation? It is
important to fade to black before e.g. suspending to RAM...
--
You received this bug
Except that the attached script operates significantly faster by
xscreensaver 5.36 than by xscreensaver 5.15.
** Attachment added: "speed test for xscreensaver-command -lock"
https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/1701917/+attachment/4911434/+files/test-xscreensaver.sh
Same thing by xscreensaver 5.36-1-ppa3~trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1701917
Title:
Slow in locking
To manage notifications about this bug go to: