Package xautolock

Launches a program when your X session has been idle

http://freshmeat.net/projects/xautolock/

A program that launches a given program when
your X session has been idle for a given time.

General Commands
Command Description
xautolock.1x fire up programs in case of user inactivity under X