@saurav1: Only tested the script on freshly installed Xubuntu 16.04. The screen doesn't get relocked on my computer.
Maybe it's a race condition and setting "Delay after locking screen saver for" in "XFCE Power Manager" under the "Security" tab to a higher value helps. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1568604 Title: Mouse cursor lost when unlocking with Intel graphics To manage notifications about this bug go to: https://bugs.launchpad.net/xorg-server/+bug/1568604/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs