Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lock Screen after suspend
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 44

PostPosted: Fri Aug 24, 2018 10:08 pm    Post subject: Lock Screen after suspend Reply with quote

Hi,

I want to have my laptop screen locked after waking up from suspend.
I am using i3lock and I used xss-lock a long time with arch linux. However, arch linux uses systemd and I am not using systemd with gentoo.

At the moment when I open the lid, the screen is not locked although I tried to use acpi events to start i3lock. Also xss-lock does not work. Any other ideas?


cheers
mike
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Aug 24, 2018 11:32 pm    Post subject: Reply with quote

mikexx ...

see the acpi script, and discussion, provided here ... btw, by that account you may need a 'sleep {n}' after calling i3lock and before calling s2ram (at least this was the case for the poster, though they were using 'slock').

HTH & best ... khay
Back to top
View user's profile Send private message
mikexx
n00b
n00b


Joined: 24 Aug 2018
Posts: 44

PostPosted: Wed Aug 29, 2018 7:15 am    Post subject: Reply with quote

Thank you. My mistake was to not look for the display before. :)

Best
mike
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum