1 //<script type="text/javascript">
3 * log desktop actions..
6 * xdotool getmouselocation
8 * xwit -property WM_NAME -print
9 * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'root@wideboy: /home/alan'
10 * root@wideboy:/home/alan# xwit -property WM_CLASS -print
11 * 0x3a13d6c: x=1 y=25 w=1109 h=747 d=32 'gnome-terminal'
12 * root@wideboy:/home/alan#
15 * Not sure how we handle last key press...
17 * -- log to a remote url.
20 * DATE / TIME / Application / Title
21 * if cursor same as before.. - SEND 'IDLE'... (twice, then stop sending..)
23 * For commits... (we send out every 1 minute as well, it's upto the other end to determine if that means updating
24 * or creating a new record..
25 * yyyy-mm-dd /12:00 / GIT / XXXXX