You could use tmux, run $ sleep 5; zzz;
then detach from tmux and ^D to logout before system suspends.


On Wed, May 7, 2014 at 8:44 PM, Alessandro DE LAURENZIS <
just22....@gmail.com> wrote:

> Hi Tristan,
>
> No, I'm trying to lock the wscons, not an X session...
>
> Cheers
>
> On 7 May 2014 22:42:35 CEST, Tristan PILAT <tristan.pi...@gmail.com>
> wrote:
> >> On Mon, Apr 21, 2014 at 4:51 PM, Alessandro DE LAURENZIS <
> >> just22....@gmail.com> wrote:
> >>
> >> > Hello,
> >> >
> >> > I google-ed a lot, but it seems that there is no trivial solution
> >to
> >> > this point.
> >> >
> >> > I extensively use console (and tmux), ending up with a lot of
> >> > simultaneously open shells; I normally suspend my laptop when I
> >leave,
> >> > so it would be a security enhancement to automatically lock all of
> >them.
> >> >
> >>
> >
> >I advice you to install slock and autolock and then add something like
> >for
> >example
> >"exec xautolock -time 10 -locker 'slock' &" to your .xinirc or
> >.xsession
> >--
> >Tristan
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to