[let's try this again,  i hate my fat fingers]

dale>    Write simple program (or script) that your screensaver can
dale> call to send SIGSTOP and SIGCONT to your long running process.

Jeffrey> That's a good idea. How does one get the screensaver to call a
Jeffrey> script? I'm running the default screensaver from Accelerated X.

if you run the xautolock package you could do something like the
following:

xautolock -time 1 -locker ~/bin/mylock

this would call ~/bin/mylock after 1 minute of inactivity.  mylock could
look like:

#!/bin/sh

killall -STOP program
xlock
killall -CONT program

and that should do what you want...

-- 
lantz moore, contigo software                              [EMAIL PROTECTED]
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to