I need to run a script after a period of user inactivity. For that I use the wonderful program xautolock. Now, I also need to run another script when the activity is resumed (e.g. mouse is moved or a ...
On my desktop system, I run two instances of X-- one is associated with the physical screen, one is associated with a virtual screen (a la vncserver). I use the physical one to do things related to ...