Re: Getting screen to lock on suspend with Lenovo Thinkpad X1 Carbon

2019-09-09 Thread Michael Hekeler
On 03.09.19 21:09:11, Trey Sizemore wrote: > (...) > Thank you. I should have said, I have the following: > > bsd# cat /etc/apm/suspend > >

Re: Getting screen to lock on suspend with Lenovo Thinkpad X1 Carbon

2019-09-03 Thread Anatoli
On surface this is the correct configuration. I would try putting something like: echo "lock" >> /tmp/lock.log to /etc/apm/suspend to see if it's executed at all and then something like: pgrep xidle >> /tmp/lock.log to see if xidle is running at that moment, then ls /usr/local/bin/slock >>

Re: Getting screen to lock on suspend with Lenovo Thinkpad X1 Carbon

2019-09-03 Thread Trey Sizemore
On Tue, Sep 3, 2019, at 8:54 PM, joshua stein wrote: > On Tue, 03 Sep 2019 at 19:41:40 -0400, Trey Sizemore wrote: > > One remaining issue is getting the screen to lock when the laptop lid is > > closed and the laptop suspends. The screen does not lock and just resumes > > to the XFCE4 desktop.

Re: Getting screen to lock on suspend with Lenovo Thinkpad X1 Carbon

2019-09-03 Thread joshua stein
On Tue, 03 Sep 2019 at 19:41:40 -0400, Trey Sizemore wrote: > One remaining issue is getting the screen to lock when the laptop lid is > closed and the laptop suspends. The screen does not lock and just resumes to > the XFCE4 desktop. > > I have the following in my .xsession: > > bsd$ cat

Getting screen to lock on suspend with Lenovo Thinkpad X1 Carbon

2019-09-03 Thread Trey Sizemore
Hi- I've install OpenBSD 6.5 on my Lenovo Thinkpad X! carbon (5th gen). I have installed XFCE4 and have most features working well. One remaining issue is getting the screen to lock when the laptop lid is closed and the laptop suspends. The screen does not lock and just resumes to the XFCE4