[Bug 1701917] Re: Slow in locking

2017-07-09 Thread Jarno Suni
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

[Bug 1701917] Re: Slow in locking

2017-07-09 Thread Jarno Suni
...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

[Bug 1701917] Re: Slow in locking

2017-07-09 Thread Jarno Suni
./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

[Bug 1701917] Re: Slow in locking

2017-07-09 Thread Jarno Suni
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

[Bug 1701917] Re: Slow in locking

2017-07-08 Thread Jarno Suni
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

[Bug 1701917] Re: Slow in locking

2017-07-08 Thread Jarno Suni
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: