You are not logged in.
While using compton and activating slock by command, slock activates immediatly. However, this does not work when using xss-lock to lock the screen when the lid of the laptop is shut and the computer goes to sleep. When opening the lid, the computer wakes from sleep, the desktop is shown for several seconds, then slock activates. Excluding slock from compton by excluding all windows with no name works, but this also exludes dmenu from fading effects. How can I exclude slock only from compton so this delay is not there?
Last edited by drewma2k (2016-04-03 16:59:25)
Offline
It looks like there are two processes activating slock leading to double slock activation.
Are you using systemd service to activate slock after sleep? This may lead to double slock activation, 1. after sleep by systemd service and 2. by xss-lock due to lid close. ( ignore if it doesn't match with your case)
EDIT:
if you have setup your laptop to go into sleep, on lid close , you don't need xss-lock, only resume@.service file should work, https://wiki.archlinux.org/index.php/Po … vice_files
Last edited by Docbroke (2016-04-03 16:47:11)
Arch is home!
https://github.com/Docbroke
Offline
I've created a suspend@.service as described in the wiki article and slock appears to be behaving correctly. solved.
Offline