[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [off-topic] How to auto-run xlock?



On Wed, Apr 07, 1999 at 10:49:07PM -0600, Rick Macdonald wrote:
> I have a program that I want to run only while my PC is unattended. I
> don't need the screen locked necessarily.
> 
> xlock does this for me:
> 
> xlock +nolock -startCmd startsetiathome -mode blank
> 
> but I have to run it manually. When I log back in, it does kill the
> running command (startsetiathome) just like I want.
> 
> I'd like this exact behaviour but somehow I need xlock to always be
> running, waiting to jump in after the idle period.
> 
> Any ideas? Do any of the screen savers in gnome/enlightenment/etc have
> such features?

How about the "xautolock" package?  It might more properly be named
"xidle", since it is simply used to start an arbitrary command after the X
input devices have been idle for the period of time you determine.

Package: xautolock
Status: install ok installed
Priority: optional
Section: non-free/x11
Installed-Size: 47
Maintainer: Frederic Lepied <Lepied@debian.org>
Version: pl15-1
Depends: libc6, xlib6g (>= 3.3-5)
Recommends: xlockmore | xtrlock
Description: Start a program if the X window is idle for some time
 Xautolock monitors console activity under the X window system, and
 fires up a program of your choice if nothing happens during a
 user configurable period of time. You can use this to automatically
 start up a screen locker in case you tend to forget to do so manually
 before having a coffee break.

Urp.  That's not free!  I just noticed that and I've been using it for
years.

Looks like we do need "xidle".  Who wants to write it?

Guess I should install vrms and find out what else I'm in trouble with.

-- 
G. Branden Robinson              |
Debian GNU/Linux                 |            If existence exists,
branden@ecn.purdue.edu           |            why create a creator?
cartoon.ecn.purdue.edu/~branden/ |

Attachment: pgpwDOcZvfctf.pgp
Description: PGP signature


Reply to: