Well, if you consider xscreensaver to be a fundamental part of Linux, then yes. But your program still needs to interface properly with xscreensaver. Maybe it's easier than I think, I will look into it. Edit: Oh and if you interface properly with xscreensaver, you don't need to check for input; your program will be shut down by xscreensaver.