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

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    8

    Need to invoke my own app while system is idle as in screen saver ?

    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!!!.

    Thanks

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    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.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3d interactive aquarium screen saver
    By lalezar in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 10-26-2010, 01:49 PM
  2. system idle process
    By George2 in forum Tech Board
    Replies: 7
    Last Post: 01-15-2008, 04:01 AM
  3. Screen Saver
    By mrafcho001 in forum Windows Programming
    Replies: 3
    Last Post: 03-10-2006, 02:50 PM
  4. System Idle Process
    By moonwalker in forum Tech Board
    Replies: 10
    Last Post: 08-09-2003, 08:17 PM
  5. passing a parameter to a system invoke
    By iain in forum C++ Programming
    Replies: 1
    Last Post: 09-18-2001, 09:21 AM