You are not logged in.
Hi all
I'm struggling trying to get a screen lock setup with i3.
I'm using this in my .xinitrc but it only seems to work when entered in a consol
exec xautolock -time 2 -locker "i3lock -i 'someimge.png'"
The 2 minute time is only for testing purposes. I intend to use something more reasonable like 10 mins. I'm not sure what the syntax ought to be or if I am even working with the correct file.
Any help would be appreciated.
Cheers
Chris
Last edited by cds60601 (2018-09-04 04:12:26)
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: ArchLabs (i3-gaps)
Offline
Post your full ~/.xinitrc
You do realise that nothing after the first exec line will never get run?
Offline
Thanks for the reply!
I did find a way (dont know it it's THE way, but a way that works).
I added this line to my .config/i3/config file
exec xautolock -time 10 -locker "i3lock -c 000000"
This is exactly what I wanted, a simple black screen that locks after 10 mins.
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: ArchLabs (i3-gaps)
Offline