I need to check how much time has passed since last user input occurence (preferred way - in python) on Linux (lucid - 10.4). I know that this is easy in normal way (just using XScreenSaverQueryInfo), but the tricky part is that I don't have x11/extensions/scrnsaver.h header and I HAVE to do that some other way (even if I install needed package I cannot install packeges on 100 other computers on which it will work - I don't have permission to do that). Continue reading...