Re: autolock console
On Thu, Apr 09, 2009 at 04:33:44PM +1000, Daniel Dalton wrote:
> On Wed, Apr 08, 2009 at 08:41:27PM -0700, gcrimp@vcn.bc.ca wrote:
> > On Wed, Apr 08, 2009 at 10:26:27AM +1000, Daniel Dalton wrote:
> > > Hi,
> > >
> > > On the standard console (alt+ctr+f1), no x session running, is it
> > > possible to run a command after a certain number of minutes where no
> > > keys have been pressed? Like the gnome screen saver, except for the
> > > console. I want to be able to run vlock after say 15 minutes with no one
> > > pressing anything on the keyboard.
> >
> > Would timeoutd help you?
>
> Ah, yes. It seems it can just log a user out, not lock the
> screen... Which is unfortunate...
>
> Thanks for the help though, I'll look into this one
Maybe look at screen. From screen(1):
idle [timeout [cmd args]]
Sets a command that is run after the specified number of seconds
inac- tivity is reached. This command will normally be the
"blanker" command ...
...
lockscreen
Lock this display. Call a screenlock program (/local/bin/lck
or /usr/bin/lock or a builtin if no other is available). Screen
does not accept any command keys until this program terminates.
Meanwhile pro-
...
Ken
--
Ken Irving
Reply to: