You are not logged in.
Pages: 1
Topic closed
I've been playing around with xautolock for a while and can make it lock screen after inactivity by adding the following to my my .i3/config
exec_always --no-startup-id xautolock -time 5 -locker "i3lock -c 3bb9ea"
I seem to also be able to have it suspend by swapping the "i3lock -c 3bb9ea" with "systemctl suspend"
however, trying to add the -killtime (>=10) and -killer "systemctl suspend" result in no additional action after the lock.
anyone been able to get this working? can anyone help with problem solving?
Last edited by rking (2017-04-27 16:21:54)
Offline
so more testing today with a positive result:
xautolock -time 1 -locker "i3lock -n" -killtime 10 -killer "systemctl suspend" works when invoked from the terminal. am about to try it when entered into the .i3/config
Offline
so the following worked....must be the -n in the i3lock command. i had to remove the i3lock.service i had created to start the locker on wake from susupend...but it all seems to work
exec_always --no-startup-id xautolock -detectsleep -time 5 -locker "i3lock -n -c 3bb9ea" -killtime 10 -killer "systemctl suspend" &
Offline
wow, cool. That worked for me too. Thanks
Offline
Please don't bump with empty "me too" posts.
https://wiki.archlinux.org/index.php/Co … mpty_posts
Closing.
Offline
Pages: 1
Topic closed