xss-lock

Description

xss-lock(1), when used with the -l option, coordinates locker activation with the login manager using a delay lock (via a file descriptor). Any locker application being used with xss-lock can communicate that locking is complete by closing the file descriptor set in the $XSS_SLEEP_LOCK_FD environment variable. This makes sure that suspend waits till the locker has started up. Otherwise, the screen's contents may show up briefly for a short time after waking up.

This patch adds the ability in slock to detect if $XSS_SLEEP_LOCK_FD is set, and if so, close the file descriptor once locking is complete.

Download

Authors