On Mon, Dec 01, 2014 at 08:39:35PM -0800, Keith Lofstrom wrote: > I want to time a sequence of events over about five > minutes, pressing a keyboard key and adding a > timestamp to a file. > > I can do this by redirecting the output of xev to a > file, then editing everything but the time field for > the key presses and dividing by 1000, but there may > already be a little program that does this the easy > way. Any suggestions?
You could do it with a short bash script. Something like: while read -n 1 -s in; do echo "$(date)" | tee -a log.txt done That will log a time stamp to stdout and log.txt with each keystroke, until it gets interrupted. -- Paul _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug