View Full Version : Need to invoke my own app while system is idle as in screen saver ?

06-27-2011, 03:57 AM
Hey guys,
I need my application get invoked while my linux is idle, as in invoking screen saver ?.
What is the logic to figure out the system idle. Any clue much appreciated!!!.


06-27-2011, 04:11 AM
Assuming you're trying to do this under an X11-based windowing system, look up how you create a new module for xscreensaver. xscreensaver does all the work of locking the screen, checking passwords, etc and executing your program when appropriate.