Re: xidle(1) and autosuspend

2022-07-05 Thread Stuart Henderson
On 2022/07/05 11:35, Tor Houghton wrote: > On Wed, Jun 29, 2022 at 11:24:58AM -, Stuart Henderson wrote: > > > [snip] > > > > > > So after 5 minutes xidle starts xlock and 5 minutes after that my laptop > > > autosuspends. If I unlock the laptop before 5 minutes expire the sleep > > > gets kill

Re: xidle(1) and autosuspend

2022-07-05 Thread Tor Houghton
On Wed, Jun 29, 2022 at 11:24:58AM -, Stuart Henderson wrote: > > [snip] > > > > So after 5 minutes xidle starts xlock and 5 minutes after that my laptop > > autosuspends. If I unlock the laptop before 5 minutes expire the sleep > > gets killed and the laptop doesn't suspend. > > > this is ne

Re: xidle(1) and autosuspend

2022-06-29 Thread Sean Kamath
> On Jun 29, 2022, at 04:24, Stuart Henderson wrote: > > On 2022-06-07, Florian Obser wrote: >> So after 5 minutes xidle starts xlock and 5 minutes after that my laptop >> autosuspends. If I unlock the laptop before 5 minutes expire the sleep >> gets killed and the laptop doesn't suspend. > >

Re: xidle(1) and autosuspend

2022-06-29 Thread Stuart Henderson
On 2022-06-07, Florian Obser wrote: > Since my other computer is a datacenter, and my laptop is just a > glorified vt100, I figured how to autosuspend it when it's idle for some > time. > > I already at xidle(1) in my .xsession to start xlock(1). I then > discovered -startCmd in xlock(1). > > I kn

xidle(1) and autosuspend

2022-06-07 Thread Florian Obser
Since my other computer is a datacenter, and my laptop is just a glorified vt100, I figured how to autosuspend it when it's idle for some time. I already at xidle(1) in my .xsession to start xlock(1). I then discovered -startCmd in xlock(1). I know have this: $ cat xlock_zzz #! /bin/sh exec /us