Comment 518 for bug 532633

Revision history for this message
Steven (steven3000) wrote :

Hi, after Mark's comment I "wrote" a two (quite brutal) python scripts that:

1) prints the mouse position to a file every 5 seconds (the output can the be redirected to a file)
2) generates an "heat mat" (a sort of, actually only red is used) from the previous file

I used the first script for about two hours and half, while using firefox, pigin and gedit to write the second script.

I'm attaching all the work, the two scripts, the data collected and the "heat map".

Maybe someone else may be interested in collecting some other data.

For script 1:
be sure to install python and python-xlib
I ran it using: ./mousepos.py | tee -a mousepos.txt
(remember to chmod +x)

For script 2:
You should set your resolution and file name on the first lines.
Then just run ./heatmap.py and heat.jpg will be produced

HTH