You are not logged in.

#1 2015-12-23 12:30:47

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,461

[solved] lock screen on lid closure

Hi,

I am using Dell latitude E6230, with Arch + xfce4/I3 configuration (migrating to i3 from xfce). I have successfully enabled power/suspend/brightness/volume keys with help of "bindsym" function in i3 configuration and using xbindkeys. Only missing thing is lock on lid close, and for this single function I have to rely on xfce4-power-manager.
I am looking for a simple way to lock screen on lid closure without suspending, if possible through systemd-logind. I tried to find out lid closure event with "xbindkeys -k" and "xev", but the event is not recognized. I am using slock as screen locker.

thanks

Last edited by Docbroke (2015-12-24 03:04:51)

Offline

#2 2015-12-24 03:04:20

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,461

Re: [solved] lock screen on lid closure

solved with help from the i3 thread https://bbs.archlinux.org/viewtopic.php … 6#p1589136, solution was to use xss-lock with logind.conf

Offline

Board footer

Powered by FluxBB